]> err.no Git - linux-2.6/commitdiff
[PATCH] remove the tasklist_lock export
authorChristoph Hellwig <hch@lst.de>
Mon, 10 Jul 2006 11:45:40 +0000 (04:45 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 10 Jul 2006 20:24:26 +0000 (13:24 -0700)
As announced half a year ago this patch will remove the tasklist_lock
export.  The previous two patches got rid of the remaining modular users.

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
kernel/fork.c

index 99f219a01e0e1f179021d370039ed46d1ba9404c..ee287988934e25f7628496b013465acd22c79209 100644 (file)
@@ -166,17 +166,6 @@ Who:       Arjan van de Ven <arjan@linux.intel.com>
 
 ---------------------------
 
-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
index 56e4e07e45f7f1098ab692dfe2eb7bf1f277a1e4..926e5a68ea9e7b2d901f189f33a8da204f8cfec2 100644 (file)
@@ -61,9 +61,7 @@ int max_threads;              /* tunable limit on nr_threads */
 
 DEFINE_PER_CPU(unsigned long, process_counts) = 0;
 
- __cacheline_aligned DEFINE_RWLOCK(tasklist_lock);  /* outer */
-
-EXPORT_SYMBOL(tasklist_lock);
+__cacheline_aligned DEFINE_RWLOCK(tasklist_lock);  /* outer */
 
 int nr_processes(void)
 {