From: Andrew Morton <akpm@linux-foundation.org>
To: cgel.zte@gmail.com
Cc: willy@infradead.org, linux-mm@kvack.org,
linux-kernel@vger.kernel.org, Yang Yang <yang.yang29@zte.com.cn>
Subject: Re: [PATCH] mm/page_alloc: make the annotations of available memory more accurate
Date: Wed, 22 Jun 2022 11:43:28 -0700 [thread overview]
Message-ID: <20220622114328.938ef5b4899eb14cc8a285df@linux-foundation.org> (raw)
In-Reply-To: <20220622064712.959479-1-yang.yang29@zte.com.cn>
On Wed, 22 Jun 2022 06:47:13 +0000 cgel.zte@gmail.com wrote:
> From: Yang Yang <yang.yang29@zte.com.cn>
>
> Not all the systems use swap, so estimating available memory would
> help to prevent swapping or OOM of system that not use swap.
>
> And we need to reserve some page cache to prevent swapping or
> thrashing. If somebody is accessing the pages in pagecache,
> and if too much would be freed, most accesses might mean
> reading data from disk, i.e. thrashing.
>
> Signed-off-by: Yang Yang <yang.yang29@zte.com.cn>
This should include your signoff, as described in
Documentation/process/submitting-patches.rst.
And we'd like a full name for that signoff please, not simply a bare
email address.
prev parent reply other threads:[~2022-06-22 18:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-22 6:47 cgel.zte
2022-06-22 18:43 ` Andrew Morton [this message]
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220622114328.938ef5b4899eb14cc8a285df@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=cgel.zte@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=willy@infradead.org \
--cc=yang.yang29@zte.com.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox