On Thu, 19 Jul 2007 11:36:31 +0200 (CEST),
Geert Uytterhoeven [off-list ref] wrote:
We have a probe thread that checks for new storage devices and adds them to the
bus with ps3_system_bus_device_register(), which calls device_register().
I guess the actual bus probe() routine gets called through the notifier call
chain? That's where I got lost...
No, ->probe() is called from device_register() directly. If you just
have one probe thread, you should have enough serialization.
(Unless you're doing something interesting from the bus_notifier, which
is called via the notifier chain before ->probe()...)