[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210805044411.18966-1-zhangkui@oppo.com>
Date: Thu, 5 Aug 2021 12:44:11 +0800
From: zhangkui <zhangkui@...o.com>
To: linux-man@...r.kernel.org, alx.manpages@...il.com,
mtk.manpages@...il.com, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org, linux-mm@...ck.org
Cc: zhangkui <zhangkui@...o.com>
Subject: [PATCH] process_madvise.2: Add MADV_WILLNEED to process_madvise()
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@...o.com>
---
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.25.1
________________________________
OPPO
本电子邮件及其附件含有OPPO公司的保密信息,仅限于邮件指明的收件人使用(包含个人及群组)。禁止任何人在未经授权的情况下以任何形式使用。如果您错收了本邮件,请立即以电子邮件通知发件人并删除本邮件及其附件。
This e-mail and its attachments contain confidential information from OPPO, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!
Powered by blists - more mailing lists