diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2006-08-16 17:42:18 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-26 17:43:53 -0700 |
commit | 50b0075520a0acba9cabab5203bbce918b966d9a (patch) | |
tree | afb8dfb1ebb24b96754efea260a071ca79241ccd /drivers/tc/zs.h | |
parent | b19441af185559118e8247382ea4f2f76ebffc6d (diff) |
PCI: Multiprobe sanitizer
There are numerous drivers that can use multithreaded probing but having
some kind of global flag as the way to control this makes migration to
threaded probing hard and since it enables it everywhere and is almost
as likely to cause serious pain as holding a clog dance in a minefield.
If we have a pci_driver multithread_probe flag to inherit you can turn
it on for one driver at a time.
From playing so far however I think we need a different model at the
device layer which serializes until the called probe function says "ok
you can start another one now". That would need some kind of flag and
semaphore plus a helper function.
Anyway in the absence of that this is a starting point to usefully play
with this stuff
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/tc/zs.h')
0 files changed, 0 insertions, 0 deletions