Messages in this thread Patch in this message | | | Date | Wed, 15 Feb 2006 14:07:34 +0100 | From | Christoph Hellwig <> | Subject | [PATCH] deprecate the tasklist_lock export |
| |
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> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |