[Devel] Re: [PATCH] ia64 sn xpc: Convert to use kthread API.

Andrew Morton akpm at linux-foundation.org
Thu Apr 19 16:51:03 PDT 2007


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

> 
> This patch starts the xpc kernel threads using kthread_run
> not a combination of kernel_thread and daemonize.  Resuling
> in slightly simpler and more maintainable code.
> 
> Cc: Jes Sorensen <jes at sgi.com>
> Cc: Tony Luck <tony.luck at intel.com>
> Signed-off-by: Eric W. Biederman <ebiederm at xmission.com>
> ---
>  arch/ia64/sn/kernel/xpc_main.c |   31 +++++++++++++------------------

Another driver which should be fully converted to the kthread API:
kthread_stop() and kthread_should_stop().

And according to my logs, this driver was added to the tree more than
a year _after_ the kthread interface was made available.

This isn't good.
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list