Re: [PATCH, RFC] Char dev BKL pushdown v2

From: Jonathan Corbet
Date: Mon May 19 2008 - 16:42:18 EST

Roland Dreier <rdreier@xxxxxxxxx> wrote:

> OK, will send such a patch after auditing more carefully. Just to be
> very clear, the issue is to make sure the locking is sufficient to
> protect against multiple racing open calls to the same character device?

That's part of it, but, as Alan pointed out, there's more. The BKL
currently protects open() calls against concurrency with other opens,
with ioctl(), and with driver initialization as well. So it's a matter
of having one's locking and ordering act together in general.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at