[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070719140038.606abd44@gondolin.boeblingen.de.ibm.com>
Date: Thu, 19 Jul 2007 14:00:38 +0200
From: Cornelia Huck <cornelia.huck@...ibm.com>
To: Geert Uytterhoeven <Geert.Uytterhoeven@...ycom.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Andy Whitcroft <apw@...dowen.org>,
Jens Axboe <axboe@...nel.dk>,
"James E.J. Bottomley" <James.Bottomley@...elEye.com>,
linux-scsi@...r.kernel.org,
Linux Kernel Development <linux-kernel@...r.kernel.org>,
Linux/PPC Development <linuxppc-dev@...abs.org>,
Paul Mackerras <paulus@...ba.org>,
Jens Axboe <jens.axboe@...cle.com>
Subject: Re: [patch 1/3] ps3: Disk Storage Driver
On Thu, 19 Jul 2007 11:36:31 +0200 (CEST),
Geert Uytterhoeven <Geert.Uytterhoeven@...ycom.com> 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()...)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists