[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <25f8fa78-53e1-4b53-a70b-6b758d671452@suse.cz>
Date: Tue, 13 Feb 2024 15:56:14 +0100
From: Vlastimil Babka <vbabka@...e.cz>
To: Oscar Salvador <osalvador@...e.de>, Marco Elver <elver@...gle.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, Michal Hocko <mhocko@...e.com>,
Andrey Konovalov <andreyknvl@...il.com>,
Alexander Potapenko <glider@...gle.com>
Subject: Re: [PATCH v8 4/5] mm,page_owner: Filter out stacks by a threshold
On 2/13/24 10:21, Oscar Salvador wrote:
> On Tue, Feb 13, 2024 at 09:44:47AM +0100, Marco Elver wrote:
>> On Mon, 12 Feb 2024 at 23:29, Oscar Salvador <osalvador@...e.de>
>> wrote:
>>> + debugfs_create_file("set_threshold", 0600, dir, NULL, +
>>> &proc_page_owner_threshold);
>>
>> Can't you also read from "set_threshold", so the name "set_threshold"
>> is misleading. Why not just "threshold"?
>
> Yes, it can also be read. I guess I was too focused on the set part.
Maybe name it "count_threshold" so it's more clear of whate exactly it's the
threshold of?
> I will rename that one, plus add the {READ,WRITE}_ONCE.
>
> Thanks!
>
Powered by blists - more mailing lists