lkml.org 
[lkml]   [2002]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] init-fix-2.5.34-A0, BK-curr

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/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:4.678 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site