On 03.08.2017 18:04, Florian Weimer wrote:
* Yuri Gribov:
I've rebased the previous patch to trunk per Andrew's suggestion.
Original patch description/motivation/questions are in
https://gcc.gnu.org/ml/gcc-patches/2017-06/msg01869.html
What about the remaining TODOs?
Yes, need to be fixed. Note that patch is an RFC so I didn't want to
polish it until I get enough feedback from others.
+ if (__builtin_expect (msync ((void *)page, len, MS_ASYNC), 0))
+ return 0;
Is there any reason not to probe using mincore? It won't trigger
writeback.
Nice, for some reason I didn't realize it provides necessary info.
-Y