Why create_kthread passes SIGCHLD to kernel_thread?

From: Peng Tao
Date: Wed Feb 27 2013 - 05:37:28 EST


Looking at do_fork(), it seems that SIGCHLD is used to tell what kind
of trace event to report but kernel_thread() certainly doesn't want
any of it. So what does this SIGCHLD mean for create_kthread?

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/