Re: [PATCH v3 2/2] mm/compaction: make proactive compaction high watermark configurable via sysctl
From: Andrew Morton
Date: Mon Jan 27 2025 - 20:19:04 EST
On Mon, 27 Jan 2025 22:50:20 +0100 Michal Clapinski <mclapinski@xxxxxxxxxx> wrote:
> Currently, the difference between the high and low watermarks for
> proactive compaction is hardcoded to 10. This hardcoded difference is
> too large for free page reporting to work well.
>
> Add a new sysctl, `compaction_proactiveness_leeway`, to control the
> difference between the high and low watermarks.
>
Oh dear, yet another tunable. Is there any way in which we can
acceptably improve the kernel without adding this?