[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20220622114328.938ef5b4899eb14cc8a285df@linux-foundation.org>
Date: Wed, 22 Jun 2022 11:43:28 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: cgel.zte@...il.com
Cc: willy@...radead.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, Yang Yang <yang.yang29@....com.cn>
Subject: Re: [PATCH] mm/page_alloc: make the annotations of available memory
more accurate
On Wed, 22 Jun 2022 06:47:13 +0000 cgel.zte@...il.com wrote:
> From: Yang Yang <yang.yang29@....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@....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.
Powered by blists - more mailing lists