Closed
Description
In runtime we can read:
madvdontneed: setting madvdontneed=0 will use MADV_FREE
instead of MADV_DONTNEED on Linux when returning memory to the
kernel. This is more efficient, but means RSS numbers will
drop only when the OS is under memory pressure.
I find the This
here very confusing, I read this as madvdontneed=0
(MADV_FREE
fast but bad RSS and MADV_DONTNEED
slow but accurate) since it's the option explained in the previous sentence while in reality it's speaking about madvdontneed=1
.
I belive This
should just be replaced with MADV_DONTNEED
or DONTNEED
.