Re: [PATCH RESEND] slub: Remove userspace notifier for cache add/remove
From: David Rientjes
Date: Thu Apr 23 2020 - 15:51:05 EST
On Thu, 23 Apr 2020, Michal Koutnà wrote:
> From: Christoph Lameter <cl@xxxxxxxxx>
>
> I came across some unnecessary uevents once again which reminded me
> this. The patch seems to be lost in the leaves of the original
> discussion [1], so resending.
>
> [1] https://lore.kernel.org/r/alpine.DEB.2.21.2001281813130.745@xxxxxxxxxxxxxxx
>
> 8<---
> Kmem caches are internal kernel structures so it is strange that
> userspace notifiers would be needed. And I am not aware of any use
> of these notifiers. These notifiers may just exist because in the
> initial slub release the sysfs code was copied from another
> subsystem.
>
> Signed-off-by: Christoph Lameter <cl@xxxxxxxxx>
> Acked-by: Vlastimil Babka <vbabka@xxxxxxx>
> Acked-by: Michal Koutnà <mkoutny@xxxxxxxx>
Acked-by: David Rientjes <rientjes@xxxxxxxxxx>