[PATCH] deprecate the tasklist_lock export
authorChristoph Hellwig <hch@lst.de>
Fri, 24 Mar 2006 11:18:33 +0000 (03:18 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 24 Mar 2006 15:33:29 +0000 (07:33 -0800)
Drivers have no business looking at the task list and thus using this lock.
 The only possibly modular users left are:

 arch/ia64/kernel/mca.c
 drivers/edac/edac_mc.c
 fs/binfmt_elf.c

which I'll send out fixes for soon.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Documentation/feature-removal-schedule.txt

index 803a9ed..21272e4 100644 (file)
@@ -185,6 +185,17 @@ Who:       Jean Delvare <khali@linux-fr.org>
 
 ---------------------------
 
+What:  remove EXPORT_SYMBOL(tasklist_lock)
+When:  August 2006
+Files: kernel/fork.c
+Why:   tasklist_lock protects the kernel internal task list.  Modules have
+       no business looking at it, and all instances in drivers have been due
+       to use of too-lowlevel APIs.  Having this symbol exported prevents
+       moving to more scalable locking schemes for the task list.
+Who:   Christoph Hellwig <hch@lst.de>
+
+---------------------------
+
 What:  mount/umount uevents
 When:  February 2007
 Why:   These events are not correct, and do not properly let userspace know