[Devel] Re: [PATCH] powerpc pseries eeh: Convert to kthread API

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


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

> This patch modifies the startup of eehd to use kthread_run
> not a combination of kernel_thread and daemonize.  Making
> the code slightly simpler and more maintainable.
> 

You're making me look at a lot of things which I'd prefer not to have
looked at.

>  arch/powerpc/platforms/pseries/eeh_event.c |    4 ++--

This one kicks off a kernel thread in response to each "PCI error event",
and that kernel thread hangs about for one hour then exits.

One wonders what happens if we get 1,000,000 of these events per
second.

_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list