Re: [RFC PATCH] Multi-threaded device probing

From: Stefan Richter
Date: Tue Jul 25 2006 - 20:08:14 EST

James Courtier-Dutton wrote:
What happens about the logging?
Surely one would want the output from one probe to be output into the
log as a block, and not mix the output from multiple simultaneous probes.

Use single-line printks were possible, or mutex-protected multiline blocks where you really can't do without multiple lines of printks that really cannot be separated. (Don't perform time consuming functions within those mutexes; that would defeat the multithreaded probing...)

To adjust printks is only the beginning of what is to be done to adapt single-threaded bus probes to multithreaded ones. There may be hidden assumptions that rely on single-threaded execution.
Stefan Richter
-=====-=-==- -=== ==-=-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at