[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZAjo0HaUTCzQtN1Q@bombadil.infradead.org>
Date: Wed, 8 Mar 2023 11:58:08 -0800
From: Luis Chamberlain <mcgrof@...nel.org>
To: Vlastimil Babka <vbabka@...e.cz>
Cc: ye.xingchen@....com.cn, keescook@...omium.org, yzaikin@...gle.com,
akpm@...ux-foundation.org, linmiaohe@...wei.com,
chi.minghao@....com.cn, linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH V2 1/2] sysctl: Limit the value of interface
compact_memory
On Wed, Mar 08, 2023 at 11:21:36AM +0100, Vlastimil Babka wrote:
>
>
> On 3/6/23 07:07, ye.xingchen@....com.cn wrote:
> > From: Minghao Chi <chi.minghao@....com.cn>
> >
> > In Documentation/admin-guide/sysctl/vm.rst:109 say: when 1 is written
> > to the file, all zones are compacted such that free memory is available
> > in contiguous blocks where possible.
> > So limit the value of interface compact_memory to 1.
> >
> > Link: https://lore.kernel.org/all/ZAJwoXJCzfk1WIBx@bombadil.infradead.org/
>
> I don't think the split to two patches you did, achieves Luis' request.
>
> IIUC his request was to move the compaction entries out of sysctl.c?
Yes, thanks Vlastimil, just git log kernel/sysctl.c and you'll see tons
of examples.
Luis
Powered by blists - more mailing lists