[Devel] Re: [PATCH] sparc64/power.c: Convert to use the kthread API

Andrew Morton akpm at linux-foundation.org
Thu Apr 19 17:30:21 PDT 2007


On Thu, 19 Apr 2007 01:58:39 -0600
"Eric W. Biederman" <ebiederm at xmission.com> wrote:

> From: Eric W. Biederman <ebiederm at xmission.com>
> 
> This starts the sparc64 powerd using kthread_run
> instead of kernel_thread and daemonize.  Making the
> code slightly simpler and more maintainable.
> 
> In addition the unnecessary flush_signals is removed.

Looks OK.  This code could perhaps be switched to call_usermodehelper().

> +		task = kthread_urn(powerd, NULL, "powerd");

I'll fix that up before Dave notices ;)
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list