Re: [PATCH] kthread_should_stop_check_freeze (was: Re: [PATCH -mm 3/7] Freezer: Remove PF_NOFREEZE from rcutorture thread)
From: Srivatsa Vaddagiri
Date: Tue Mar 13 2007 - 05:52:15 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/