[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5709c57c-1953-45b2-9a23-b0856b39bb02@suse.cz>
Date: Mon, 27 Jan 2025 11:40:23 +0100
From: Vlastimil Babka <vbabka@...e.cz>
To: Pasha Tatashin <pasha.tatashin@...een.com>,
Michal Clapinski <mclapinski@...gle.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Nitin Gupta <nigupta@...dia.com>, Pasha Tatashin <tatashin@...gle.com>,
linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] mm/compaction: expose a new param for proactive
compaction
On 1/25/25 17:20, Pasha Tatashin wrote:
> Subject should be something like:
>
> mm/compaction: Make proactive compaction high watermark configurable via sysctl
>
> On Fri, Jan 24, 2025 at 1:21 PM Michal Clapinski <mclapinski@...gle.com> wrote:
>>
>> Expose the diff between low and high watermark as a sysctl var.
>
> Please expand, for example:
>
> Currently, the difference between the low and high watermarks for
> proactive compaction is hardcoded to 10. This hardcoded difference is
> too large for free page reporting to work correctly.
>
> Add a new sysctl, `compaction_proactiveness_leeway`, to control the
> difference between the low and high watermarks.
Yeah, also please update Documentation/admin-guide/sysctl/vm.rst accordingly.
Thanks, Vlastimil
Powered by blists - more mailing lists