Re: [PATCH] remove BKL from drivers' release functions

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 28 Nov 2001 23:36:18 +0000 (GMT)


> drivers' release functions. The release functions are already
> serialized in the VFS code by an atomic_t which guarantees that each

The release function was only partially serialized - what stops a release
and an open racing each other ? That in several cases was why the lock
was there.

I'm not saying your patch isnt a good thing. General rule of thumb, any user
of lock_kernel has a race 8)

-
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/