Re: [RFC] register_blkdev and unregister_blkdev

From: BALBIR SINGH (balbir.singh@wipro.com)
Date: Wed Oct 10 2001 - 06:08:49 EST


Alexander Viro wrote:

>All module init code is under BKL and will stay that way for a long time.
>If that ever becomes not true, we are in for much more pain that
>register_blkdev() races - you would need to do audit of all drivers to
>pull something like that.
>

I suspected that the locking in init_module was preventing bad
things from happening in {devfs_}register_blkdev, I am sure now.

Balbir



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:31 EST