Skip to content
Commit 7cbcd2e2 authored by Jason Evans's avatar Jason Evans
Browse files

Fix pages_purge_forced() to discard pages on non-Linux systems.

madvise(..., MADV_DONTNEED) only causes demand-zeroing on Linux, so fall
back to overlaying a new mapping.
parent 21a68e2d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment