Commit c59923a15c12d2b3597af913bf234a0ef264a38b

Authored by Christoph Hellwig
Committed by Linus Torvalds
1 parent f84dfe8296

[PATCH] remove the tasklist_lock export

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>

Showing 2 changed files with 1 additions and 14 deletions Side-by-side Diff

Documentation/feature-removal-schedule.txt
... ... @@ -166,17 +166,6 @@
166 166  
167 167 ---------------------------
168 168  
169   -What: remove EXPORT_SYMBOL(tasklist_lock)
170   -When: August 2006
171   -Files: kernel/fork.c
172   -Why: tasklist_lock protects the kernel internal task list. Modules have
173   - no business looking at it, and all instances in drivers have been due
174   - to use of too-lowlevel APIs. Having this symbol exported prevents
175   - moving to more scalable locking schemes for the task list.
176   -Who: Christoph Hellwig <hch@lst.de>
177   -
178   ----------------------------
179   -
180 169 What: mount/umount uevents
181 170 When: February 2007
182 171 Why: These events are not correct, and do not properly let userspace know
... ... @@ -61,9 +61,7 @@
61 61  
62 62 DEFINE_PER_CPU(unsigned long, process_counts) = 0;
63 63  
64   - __cacheline_aligned DEFINE_RWLOCK(tasklist_lock); /* outer */
65   -
66   -EXPORT_SYMBOL(tasklist_lock);
  64 +__cacheline_aligned DEFINE_RWLOCK(tasklist_lock); /* outer */
67 65  
68 66 int nr_processes(void)
69 67 {