Re: [patch 2.4] make tty->count atomic_t

Jes Sorensen (jes@wildopensource.com)
03 Apr 2003 19:13:27 -0500


>>>>> "Russell" == Russell King <rmk@arm.linux.org.uk> writes:

Russell> On Thu, Apr 03, 2003 at 06:18:22PM -0500, Jes Sorensen wrote:
Russell> Isn't release_dev() only called under the BKL, which
Russell> guarantees the old "single-thread in the kernel at a time"
Russell> behaviour from pre-SMP Linux ?
>> It's called from tty_release() and tty_open(). tty_release() grabs
>> the BKL but I don't see the path that grabs it when calling through
>> tty_open() (doesn't mean I am not blind of course ;-).

Russell> It's hidden away in fs/devices.c:chrdev_open()

Good point, ok back to the drawing broad ;-(

Thanks,
Jes
-
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/