LKML Archive mirror
 help / color / mirror / Atom feed
* [PATCH 3/3] remove the tasklist_lock export
@ 2006-07-08 18:06 Christoph Hellwig
  0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2006-07-08 18:06 UTC (permalink / raw
  To: akpm; +Cc: linux-kernel

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>

Index: linux-2.6/Documentation/feature-removal-schedule.txt
===================================================================
--- linux-2.6.orig/Documentation/feature-removal-schedule.txt	2006-07-08 19:10:02.000000000 +0200
+++ linux-2.6/Documentation/feature-removal-schedule.txt	2006-07-08 19:10:06.000000000 +0200
@@ -166,17 +166,6 @@
 
 ---------------------------
 
-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: linux-2.6/kernel/fork.c
===================================================================
--- linux-2.6.orig/kernel/fork.c	2006-07-08 19:10:02.000000000 +0200
+++ linux-2.6/kernel/fork.c	2006-07-08 19:10:06.000000000 +0200
@@ -61,9 +61,7 @@
 
 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)
 {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-07-08 18:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-08 18:06 [PATCH 3/3] remove the tasklist_lock export Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).