[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MADV_DONTNEED
Stephen C. Tweedie wrote:
> > function 3 (could be MADV_ZERO):
> > discard pages. if they are referenced again, the process sees C-O-W
> > zeroed pages.
Fwiw, I don't think MADV_ZERO is particularly useful.
You can just read /dev/zero over that memory range.
-- Jamie
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/