Re: [PATCH 2/2] mm/compaction: expose a new param for proactive compaction
From: Vlastimil Babka
Date: Mon Jan 27 2025 - 05:40:34 EST
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@xxxxxxxxxx> 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