Re: SLUB: purpose of sysfs events on cache creation/removal

From: Michal Hocko
Date: Wed Dec 04 2019 - 10:32:30 EST


On Wed 04-12-19 15:25:43, Cristopher Lameter wrote:
> On Wed, 4 Dec 2019, Michal Hocko wrote:
>
> > > > Just drop the events may be best. Then we know if someone is using it.
> > >
> > > I would be worried that a lack of events might be surprising and a
> > > potential userspace wouldn't know that something has changed.
> >
> > It would be great to land with some decision here.
>
> Drop the events. These are internal kernel structures and supporting
> notifiers to userspace is a bit unusual.

As I've said I believe it is quite risky. But if you as a maintainer
believe this is the right thing to do I will not object. Care to send a
patch?

--
Michal Hocko
SUSE Labs