Re: [PATCH] macintosh/therm_pm72.c: Convert to kthread API.

2007-04-22 Thread Paul Mackerras
Christoph Hellwig writes: > Why is this driver using a thread at all? It's only doing a bunch > of rather short-lived things in the thread. It's doing i2c reads and writes, which block, and are actually quite slow. Paul. - To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: [PATCH] macintosh/therm_pm72.c: Convert to kthread API.

2007-04-22 Thread Christoph Hellwig
On Thu, Apr 19, 2007 at 01:58:47AM -0600, Eric W. Biederman wrote: > From: Eric W. Biederman <[EMAIL PROTECTED]> > > This patch modifies startup of the kfand to use kthread_run > not a combination of kernel_thread and daemonize, making > the code a little simpler and more maintaintable. Why is

Re: [PATCH] macintosh/therm_pm72.c: Convert to kthread API.

2007-04-22 Thread Christoph Hellwig
On Thu, Apr 19, 2007 at 01:58:47AM -0600, Eric W. Biederman wrote: From: Eric W. Biederman [EMAIL PROTECTED] This patch modifies startup of the kfand to use kthread_run not a combination of kernel_thread and daemonize, making the code a little simpler and more maintaintable. Why is this

Re: [PATCH] macintosh/therm_pm72.c: Convert to kthread API.

2007-04-22 Thread Paul Mackerras
Christoph Hellwig writes: Why is this driver using a thread at all? It's only doing a bunch of rather short-lived things in the thread. It's doing i2c reads and writes, which block, and are actually quite slow. Paul. - To unsubscribe from this list: send the line unsubscribe linux-kernel in

[PATCH] macintosh/therm_pm72.c: Convert to kthread API.

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman <[EMAIL PROTECTED]> This patch modifies startup of the kfand to use kthread_run not a combination of kernel_thread and daemonize, making the code a little simpler and more maintaintable. Cc: Benjamin Herrenschmidt <[EMAIL PROTECTED]> Signed-off-by: Eric W. Biederman

[PATCH] macintosh/therm_pm72.c: Convert to kthread API.

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman <[EMAIL PROTECTED]> - unquoted This patch modifies startup of the kfand to use kthread_run not a combination of kernel_thread and daemonize, making the code a little simpler and more maintaintable. Cc: Benjamin Herrenschmidt <[EMAIL PROTECTED]> Signed-off-by: Eric W.

[PATCH] macintosh/therm_pm72.c: Convert to kthread API.

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] - unquoted This patch modifies startup of the kfand to use kthread_run not a combination of kernel_thread and daemonize, making the code a little simpler and more maintaintable. Cc: Benjamin Herrenschmidt [EMAIL PROTECTED] Signed-off-by: Eric W.

[PATCH] macintosh/therm_pm72.c: Convert to kthread API.

2007-04-19 Thread Eric W. Biederman
From: Eric W. Biederman [EMAIL PROTECTED] This patch modifies startup of the kfand to use kthread_run not a combination of kernel_thread and daemonize, making the code a little simpler and more maintaintable. Cc: Benjamin Herrenschmidt [EMAIL PROTECTED] Signed-off-by: Eric W. Biederman [EMAIL