From: Andrew Morton It looks like CLONE_DETACHED is being used. Cc: Ingo Molnar Cc: Roland McGrath Cc: Ulrich Drepper Signed-off-by: Andrew Morton --- kernel/fork.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -puN kernel/fork.c~clone-prepare-to-recycle-clone_detached-and-clone_stopped-fix kernel/fork.c --- a/kernel/fork.c~clone-prepare-to-recycle-clone_detached-and-clone_stopped-fix +++ a/kernel/fork.c @@ -1414,17 +1414,17 @@ long do_fork(unsigned long clone_flags, /* * We hope to recycle these flags after 2.6.26 */ - if (unlikely(clone_flags & (CLONE_DETACHED|CLONE_STOPPED))) { + if (unlikely(clone_flags & CLONE_STOPPED)) { static int __read_mostly count = 100; - if (count && printk_ratelimit()) { + if (count > 0 && printk_ratelimit()) { char comm[TASK_COMM_LEN]; count--; printk(KERN_INFO "fork(): process `%s' used deprecated " "clone flags 0x%lx\n", get_task_comm(comm, current), - clone_flags & (CLONE_DETACHED|CLONE_STOPPED)); + clone_flags & CLONE_STOPPED); } } _