[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YpgEx2srp5ipTbe6@carbon>
Date: Wed, 1 Jun 2022 17:31:03 -0700
From: Roman Gushchin <roman.gushchin@...ux.dev>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-mm@...ck.org, Dave Chinner <dchinner@...hat.com>,
linux-kernel@...r.kernel.org,
Kent Overstreet <kent.overstreet@...il.com>,
Hillf Danton <hdanton@...a.com>,
Christophe JAILLET <christophe.jaillet@...adoo.fr>,
Muchun Song <songmuchun@...edance.com>
Subject: Re: [PATCH v5 2/6] mm: shrinkers: introduce debugfs interface for
memory shrinkers
On Wed, Jun 01, 2022 at 02:23:58PM -0700, Andrew Morton wrote:
> On Tue, 31 May 2022 20:22:23 -0700 Roman Gushchin <roman.gushchin@...ux.dev> wrote:
>
> > This commit introduces the /sys/kernel/debug/shrinker debugfs
> > interface
>
> Should it be at the top level? Maybe /sys/kernel/debug/vm/shrinker
> would be more future-safe. (or .../mm/...)
There are already some top-level mm-related items (slab, zswap, extfrag, etc)
and I don't think there will be non-mm shrinkers in the kernel (given that
it's a kernel-wide API).
But no strong opinion here, if you strongly prefer mm/ or vm/, I'm happy
to change it.
Thanks!
Powered by blists - more mailing lists