slub: Remove userspace notifier for cache add/remove 64/261464/1 accepted/tizen/unified/20210720.062554 submit/tizen/20210720.014109
authorChristoph Lameter <cl@linux.com>
Tue, 2 Jun 2020 04:45:50 +0000 (21:45 -0700)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 19 Jul 2021 10:57:31 +0000 (19:57 +0900)
commit1b6591ee8d654d0b5301123b4492efb242722139
treeb00cafaca0917b62411935b44a5e0b8c0e1d48eb
parentc86246189c6bf8ace607b5446080f1951375b163
slub: Remove userspace notifier for cache add/remove

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@www.lameter.com

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@linux.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: Michal Koutný <mkoutny@suse.com>
Acked-by: David Rientjes <rientjes@google.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Link: http://lkml.kernel.org/r/20200423115721.19821-1-mkoutny@suse.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
[sw0312.kim: backport mainline Linux v5.8 commit d7660ce5914d
 to remove unnecessary uevent for amlogic targets]
Reported-by: INSUN PYO <insun.pyo@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: Idb636d2fbff9fd7f77a8b90c2bbee3892c0c5e77
mm/slub.c