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

From: Michal Hocko
Date: Wed Dec 04 2019 - 08:28:18 EST


On Wed 27-11-19 18:43:17, Michal Hocko wrote:
> On Wed 27-11-19 16:26:11, Cristopher Lameter wrote:
> > On Wed, 27 Nov 2019, Michal Hocko wrote:
> >
> > > Would you mind a patch that would add a kernel command line parameter
> > > that would work like memcg_sysfs_enabled? The default for the config
> > > would be on. Or it would be preferrable to simply drop only events?
> >
> > 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.
--
Michal Hocko
SUSE Labs