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

From: Paul Mackerras
Date: Sun Apr 22 2007 - 18:46:47 EST


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