is reparent_to_init a good thing to do?

From: BALBIR SINGH (balbir.singh@wipro.com)
Date: Tue Oct 09 2001 - 10:02:35 EST


I was looking at the driver under drivers/net/8139too.c, a kernel
thread rtl8139_thread is created, it calls daemonize() and soon
afterwards calls reparent_to_init(). Looking at reparent_to_init(),
it looks like all kernel threads should do this. But, I feel I am missing
something, since not everybody does this.

Is this a good thing to do? or are there special cases when we need this.

Balbir



-
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 : Mon Oct 15 2001 - 21:00:25 EST