Re: Oops in pdflush

From: Andrew Morton <akpm_at_osdl.org>
Date: 2004-02-29 16:27:42
Keith Owens <kaos@sgi.com> wrote:
>
> On Sat, 28 Feb 2004 02:23:23 -0800, 
> Andrew Morton <akpm@osdl.org> wrote:
> >We should use the new kthread infrastructure rather than open-coding it. 
> >It delegates thread startup to keventd and should thus avoid the stack
> >windup.
> 
> Convert pdflush to kthread to avoid stack windup.

Thanks Keith.  Tricky patch ;)

> Rusty, does pdflush() still need to call daemonize() or does kthread
> make that redundant?

It's redundant - threads launched by kthread have a genuine kernel thread
as a parent and hence do not need to perform all that "disassociate me from
my userspace parent" stuff.

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Sun Feb 29 00:27:27 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:23 EST