diff options
-rw-r--r-- | Documentation/feature-removal-schedule.txt | 11 | ||||
-rw-r--r-- | kernel/fork.c | 4 |
2 files changed, 1 insertions, 14 deletions
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt index 99f219a01e0e..ee287988934e 100644 --- a/Documentation/feature-removal-schedule.txt +++ b/Documentation/feature-removal-schedule.txt | |||
@@ -166,17 +166,6 @@ Who: Arjan van de Ven <arjan@linux.intel.com> | |||
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 | What: mount/umount uevents | 169 | What: mount/umount uevents |
181 | When: February 2007 | 170 | When: February 2007 |
182 | Why: These events are not correct, and do not properly let userspace know | 171 | Why: These events are not correct, and do not properly let userspace know |
diff --git a/kernel/fork.c b/kernel/fork.c index 56e4e07e45f7..926e5a68ea9e 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -61,9 +61,7 @@ int max_threads; /* tunable limit on nr_threads */ | |||
61 | 61 | ||
62 | DEFINE_PER_CPU(unsigned long, process_counts) = 0; | 62 | DEFINE_PER_CPU(unsigned long, process_counts) = 0; |
63 | 63 | ||
64 | __cacheline_aligned DEFINE_RWLOCK(tasklist_lock); /* outer */ | 64 | __cacheline_aligned DEFINE_RWLOCK(tasklist_lock); /* outer */ |
65 | |||
66 | EXPORT_SYMBOL(tasklist_lock); | ||
67 | 65 | ||
68 | int nr_processes(void) | 66 | int nr_processes(void) |
69 | { | 67 | { |