Re: [PATCH] 2.6.8.1 MegaRAID Driver Race

From: Alan Cox
Date: Sat Aug 28 2004 - 15:27:13 EST


On Llu, 2004-08-23 at 22:57, bradgoodman.com wrote:
> [PATCH] 2.6.8.1 to LSI Logic MegaRAID Adapter - ioctl function calls
> mega_internal_command, which uses wait_event, which calls schedule.
> This means schedule() is called while big kernel_lock is held.

This is allowed. The bkl is dropped and regained across sleeps. Its a
lock that gives "traditional unix semantics" not a normal lock.

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