archive mirror
 help / color / mirror / Atom feed
From: zhangkui <>
Cc: zhangkui <>
Subject: [PATCH] process_madvise.2: Add MADV_WILLNEED to process_madvise()
Date: Thu,  5 Aug 2021 12:44:11 +0800	[thread overview]
Message-ID: <> (raw)

Add MADV_WILLNEED to process_madvise() for read-ahead swapped
out memory immediately when the app switches to forground.

Signed-off-by: zhangkui <>
 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 madvise (2).
+.BR madvise (2).
 .I flags



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!

             reply	other threads:[~2021-08-05  4:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-05  4:44 zhangkui [this message]
2021-08-09 17:31 ` Suren Baghdasaryan
2021-09-10 13:51   ` Alejandro Colomar (man-pages)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \
    --subject='Re: [PATCH] process_madvise.2: Add MADV_WILLNEED to process_madvise()' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).