Fix race between cat /proc/slab_allocators and rmmod
commita5c43dae7ae38c2a6b3e9a819bcf45f010bf6a4a
authorAlexey Dobriyan <adobriyan@sw.ru>
Tue, 8 May 2007 07:28:47 +0000 (8 00:28 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:08 +0000 (8 11:15 -0700)
treeb30da7a4541e803e35a6a74ad33e836442c3f6c8
parent9d65cb4a1718a072898c7a57a3bc61b2dc4bcd4d
Fix race between cat /proc/slab_allocators and rmmod

Same story as with cat /proc/*/wchan race vs rmmod race, only
/proc/slab_allocators want more info than just symbol name.

Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/kallsyms.h
include/linux/module.h
kernel/kallsyms.c
kernel/module.c
mm/slab.c