[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f9defde5-c525-430f-8ff0-d065eb4ae57d@kernel.org>
Date: Fri, 6 Feb 2026 12:10:28 +0100
From: "David Hildenbrand (Arm)" <david@...nel.org>
To: Dev Jain <dev.jain@....com>, Vernon Yang <vernon2gm@...il.com>
Cc: akpm@...ux-foundation.org, lorenzo.stoakes@...cle.com, ziy@...dia.com,
baohua@...nel.org, lance.yang@...ux.dev, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, Vernon Yang <yanglincheng@...inos.cn>
Subject: Re: [PATCH mm-new v6 2/5] mm: khugepaged: refine scan progress number
On 2/6/26 11:00, Dev Jain wrote:
>
> On 06/02/26 2:32 pm, David Hildenbrand (Arm) wrote:
>> On 2/5/26 15:25, Dev Jain wrote:
>>>
>>>
>>>
>>> I mean .... we don't, but the alternate is a one liner using max().
>>
>> I'm fine with the max(), but it still seems like adding complexity to
>> optimize something that is nowhere prove to really be a problem.
>
> Agreed. Vernon, let us do the increment in the loop then.
I'm fine with the min(), so if you both think it's better, let's do that!
It makes it slightly harder to understand what's happening, but
fortunately, if we mess up slightly nobody will really notice :)
--
Cheers,
David
Powered by blists - more mailing lists