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

From: Andrew Morton
Date: Thu Apr 19 2007 - 19:48:05 EST


On Thu, 19 Apr 2007 01:58:45 -0600
"Eric W. Biederman" <ebiederm@xxxxxxxxxxxx> 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.

-
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/