[patch] init-fix-2.5.34-A0, BK-curr

From: Ingo Molnar (mingo@elte.hu)
Date: Sun Sep 15 2002 - 06:52:07 EST


the attached patch makes all init-inherited kernel threads show up again
in the 'ps' process list on BK-curr (including init itself). I'm not quite
sure why CLONE_THREAD was added to CLONE_SIGNAL - is there any reason
kernel threads should not be separate entities?

        Ingo

--- linux/include/linux/sched.h.orig Sun Sep 15 13:36:29 2002
+++ linux/include/linux/sched.h Sun Sep 15 13:36:36 2002
@@ -51,7 +51,7 @@
 #define CLONE_CLEARTID 0x00200000 /* clear the userspace TID */
 #define CLONE_DETACHED 0x00400000 /* parent wants no child-exit signal */
 
-#define CLONE_SIGNAL (CLONE_SIGHAND | CLONE_THREAD)
+#define CLONE_SIGNAL CLONE_SIGHAND
 
 /*
  * These are the constant used to fake the fixed-point load-average

-
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/



This archive was generated by hypermail 2b29 : Sun Sep 15 2002 - 22:00:37 EST