News for hackers. Stuff that matters.
Re:A queue of page faults (2014) by neopallium on Wednesday June 15, 2016 @05:21AM (#11908059)
The processor will try to do write-combining to fill entire cache lines, so it doesn't need to do a memory read. GCC already has a number of intrinsics to help with streaming data directly to RAM (helps to keep from evicting more important data from the cache).

The cache can be bypassed when doing a lot of writes. See section "Bypassing the cache" of [0].

That article says that memset() already uses cache bypassing instructions for large blocks.

0. https://lwn.net/Articles/255364/

There are no comments on this comment yet.