Messages in this thread | | | Date | Tue, 13 Mar 2007 15:28:08 +0530 | From | Srivatsa Vaddagiri <> | Subject | Re: [PATCH] kthread_should_stop_check_freeze (was: Re: [PATCH -mm 3/7] Freezer: Remove PF_NOFREEZE from rcutorture thread) |
| |
On Tue, Mar 13, 2007 at 09:16:29AM +0000, Christoph Hellwig wrote: > > Document as well in the kernel_thread() API, as I notice people still > > use kernel_thread() some places (ex: rtasd.c in powerpc arch)? > > They shouldn't use kernel_thread.
Hmm ..that needs to be documented as well then! I can easily count more than dozen places where kernel_thread() is being used.
I agree though that kthread is a much cleaner interface to create/destroy threads.
-- Regards, vatsa - 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/
| |