[PATCH] deprecate the kernel_thread export

From: Christoph Hellwig
Date: Tue Feb 14 2006 - 13:01:13 EST


Announce that the kernel_thread export will be removed in half a year,
after all it's users have been converted to the kthread_ API, which I
plan to do over the next month.

(and no, Adrian, please no __deprecate_as_module yet, there's still
too many users left)


Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Index: linux-2.6/Documentation/feature-removal-schedule.txt
===================================================================
--- linux-2.6.orig/Documentation/feature-removal-schedule.txt 2006-02-10 19:45:40.000000000 +0100
+++ linux-2.6/Documentation/feature-removal-schedule.txt 2006-02-12 18:44:40.000000000 +0100
@@ -171,3 +171,14 @@
probing is also known to cause trouble in at least one case (see
bug #5889.)
Who: Jean Delvare <khali@xxxxxxxxxxxx>
+
+---------------------------
+
+What: remove EXPORT_SYMBOL(kernel_thread)
+When: August 2006
+Files: arch/*/kernel/*_ksyms.c
+Why: kernel_thread is a low-level implementation detail. Drivers should
+ use the <linux/kthread.h> API instead which shields them from
+ implementation details and provides a higherlevel interface that
+ prevents bugs and code duplication
+Who: Christoph Hellwig <hch@xxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/