public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] deprecate the tasklist_lock export
@ 2006-02-15 13:07 Christoph Hellwig
  2006-02-15 14:09 ` Steven Rostedt
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Christoph Hellwig @ 2006-02-15 13:07 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel

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>

Index: linux-2.6/Documentation/feature-removal-schedule.txt
===================================================================
--- linux-2.6.orig/Documentation/feature-removal-schedule.txt	2006-02-15 14:03:37.000000000 +0100
+++ linux-2.6/Documentation/feature-removal-schedule.txt	2006-02-15 14:05:37.000000000 +0100
@@ -182,3 +182,14 @@
 	implementation details and provides a higherlevel interface that
 	prevents bugs and code duplication
 Who:	Christoph Hellwig <hch@lst.de>
+
+---------------------------
+
+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>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-02-17 20:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-15 13:07 [PATCH] deprecate the tasklist_lock export Christoph Hellwig
2006-02-15 14:09 ` Steven Rostedt
2006-02-17 11:20   ` Christoph Hellwig
2006-02-17 12:31     ` Steven Rostedt
2006-02-15 21:48 ` Adrian Bunk
2006-02-17 11:23   ` Christoph Hellwig
2006-02-17 20:12     ` Adrian Bunk
2006-02-16 20:50 ` Olaf Titz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox