[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c00f0fd8-fb46-8008-95c5-5454474d4fff@redhat.com>
Date: Wed, 27 Sep 2023 11:57:34 +0200
From: David Hildenbrand <david@...hat.com>
To: Stefan Roesch <shr@...kernel.io>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: kernel-team@...com, hannes@...xchg.org, riel@...riel.com,
linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH v3 1/4] mm/ksm: add "smart" page scanning mode
On 27.09.23 02:39, Stefan Roesch wrote:
>
> Andrew Morton <akpm@...ux-foundation.org> writes:
>
>> On Tue, 26 Sep 2023 09:13:31 -0700 Stefan Roesch <shr@...kernel.io> wrote:
>>
>>>> Thinking about it, what are the cons of just enabling this always and not
>>>> exposing new toggles? Alternatively, we could make this a compile-time option.
>>>>
>>>> In general, LGTM, just curious if we really have to make this configurable.
>>>>
>>>
>>> The only downside I can see is that it might take a longer time for some
>>> pages to be de-duplicated (a new candidate page is added, but its
>>> duplicate is skipped in this round). So it will take longer to
>>> de-duplicate this page.
>>>
>>> I tested with more than one workload, but it might be useful to get some
>>> data with additional workloads. I was thinking of enabling it after one or
>>> two releases.
>>
>> We could keep the tunable and make it default "on"?
>
> Sounds good to me
>
+1
Reviewed-by: David Hildenbrand <david@...hat.com>
--
Cheers,
David / dhildenb
Powered by blists - more mailing lists