From: zhangkui <zhangkui@xxxxxxxx> Add MADV_WILLNEED to process_madvise() for read-ahead swapped out memory immediately when the app switches to forground. https://lore.kernel.org/patchwork/patch/1472006/ Signed-off-by: zhangkui <zhangkui@xxxxxxxx> Reviewed-by: Suren Baghdasaryan <surenb@xxxxxxxxxx> Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx> --- man2/process_madvise.2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/man2/process_madvise.2 b/man2/process_madvise.2 index a6c8724d4..caa8bc0b3 100644 --- a/man2/process_madvise.2 +++ b/man2/process_madvise.2 @@ -112,6 +112,10 @@ See .BR MADV_PAGEOUT See .BR madvise (2). +.TP +.BR MADV_WILLNEED +See +.BR madvise (2). .PP The .I flags -- 2.33.0