Re: [RFC PATCH] Multi-threaded device probing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-=====-=-==- -=== ==-=-
http://arcgraph.de/sr/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux