Difference between revisions of "Threaded Device Probing"

From eLinux.org
Jump to: navigation, search
m
(add status of threaded device probing, and link to async function call work)
Line 13: Line 13:
  
 
The kernel option to turn on this feature for the PCI bus in Linux version 2.6.18-rc4-mm1 (Andrew Morton's tree) is CONFIG_PCI_MULTITHREAD_PROBE.
 
The kernel option to turn on this feature for the PCI bus in Linux version 2.6.18-rc4-mm1 (Andrew Morton's tree) is CONFIG_PCI_MULTITHREAD_PROBE.
 +
 +
== Status ==
 +
This code was apparently never integrated into mainline.  It appears to be superceded by the
 +
[[Asynchronous function call]] work.
  
 
[[Category:Boot Time]]
 
[[Category:Boot Time]]
 
[[Category:Kernel]]
 
[[Category:Kernel]]

Revision as of 19:47, 6 January 2009

This page describes Threaded device probing, which is a feature which allows drivers in the Linux kernel to have their probes execute in parallel threads. One of the most time-consuming parts of the boot up sequence is the probing by device drivers for their hardware devices.

This patch was created by Greg Kroah-Hartman and with it he was able to reduce the bootup time of the kernel on one machine by about 400 milliseconds.

Original post and discussion

See this article for the original description of this and a patch.

There was discussion about this here.

Kernel Option

Greg Kroah-Hartman posted a patch to LKML on Sep 25 2006 with a config option to turn this on for the PCI bus. His post is at: lkml thread

The kernel option to turn on this feature for the PCI bus in Linux version 2.6.18-rc4-mm1 (Andrew Morton's tree) is CONFIG_PCI_MULTITHREAD_PROBE.

Status

This code was apparently never integrated into mainline. It appears to be superceded by the Asynchronous function call work.