Re: [PATCH v6 0/6] ksm: support tracking KSM-placed zero-pages

From: Andrew Morton
Date: Tue Mar 28 2023 - 18:40:27 EST


On Fri, 10 Feb 2023 09:15:22 +0800 (CST) <yang.yang29@xxxxxxxxxx> wrote:

> The core idea of this patch set is to enable users to perceive the number of any
> pages merged by KSM, regardless of whether use_zero_page switch has been turned
> on, so that users can know how much free memory increase is really due to their
> madvise(MERGEABLE) actions. But the problem is, when enabling use_zero_pages,
> all empty pages will be merged with kernel zero pages instead of with each
> other as use_zero_pages is disabled, and then these zero-pages are no longer
> monitored by KSM.

We appear to have some outstanding activity on this quite old patchset.
>From my notes:

- An unresponded-to question from Claudia:
https://lkml.kernel.org/r/20230307192421.30ab869c@p-imbrenda

- Hoping for overall review from David

- Another query from Claudia, and a response indicating that a v7 is
in the works.
https://lore.kernel.org/all/20230307194320.79373a26@p-imbrenda/T/#u

- Another unresponded-to review query:
https://lkml.kernel.org/r/20230307195119.745d0b46@p-imbrenda

- Another response indicating that a v7 is coming
https://lkml.kernel.org/r/20230307195313.2e21245a@p-imbrenda

So I think I'll drop the v6 series. Please address all these things in
the next version and let's start over.