From: Christoph Hellwig 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 Signed-off-by: Andrew Morton --- Documentation/feature-removal-schedule.txt | 11 +++++++++++ 1 files changed, 11 insertions(+) diff -puN Documentation/feature-removal-schedule.txt~deprecate-the-tasklist_lock-export Documentation/feature-removal-schedule.txt --- devel/Documentation/feature-removal-schedule.txt~deprecate-the-tasklist_lock-export 2006-02-23 19:41:23.000000000 -0800 +++ devel-akpm/Documentation/feature-removal-schedule.txt 2006-02-23 19:41:23.000000000 -0800 @@ -216,3 +216,14 @@ Why: kernel_thread is a low-level implem implementation details and provides a higherlevel interface that prevents bugs and code duplication Who: Christoph Hellwig + +--------------------------- + +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 _