SLUB: purpose of sysfs events on cache creation/removal

From: Michal Hocko
Date: Tue Nov 26 2019 - 07:19:06 EST


Hi,
I have just learnt about KOBJ_{ADD,REMOVE} sysfs events triggered on
kmem cache creation/removal when SLUB is configured. This functionality
goes all the way down to initial SLUB merge. I do not see any references
in the Documentation explaining what those events are used for and
whether there are any real users.

Could you shed some more light into this?
--
Michal Hocko
SUSE Labs