login
Header Space

 
 

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

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jonathan Corbet <corbet@...>
Cc: Linus Torvalds <torvalds@...>, Ingo Molnar <mingo@...>, Andrew Morton <akpm@...>, Peter Zijlstra <a.p.zijlstra@...>, Thomas Gleixner <tglx@...>, Alan Cox <alan@...>, Alexander Viro <viro@...>, <linux-kernel@...>, Stephen Rothwell <sfr@...>
Date: Monday, May 19, 2008 - 6:18 pm

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

Thanks.  Just to be super-explicit, ioctl() cannot be called on a given
file until the open() for that particular file has returned, right?

And the point about driver initialization is that open() can be called
as soon as the file operations are registered, even if the module_init
function has not returned?

Thanks,
  Roland
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH, RFC] Char dev BKL pushdown v2, Jonathan Corbet, (Sun May 18, 6:15 pm)
Re: [PATCH, RFC] Char dev BKL pushdown v2, Stefan Richter, (Mon May 19, 1:46 pm)
Re: [PATCH, RFC] Char dev BKL pushdown v2, Stefan Richter, (Mon May 19, 3:27 pm)
Re: [PATCH, RFC] Char dev BKL pushdown v2, Stefan Richter, (Mon May 19, 4:07 pm)
Re: [PATCH, RFC] Char dev BKL pushdown v2, Ingo Molnar, (Mon May 19, 9:17 am)
Re: [PATCH, RFC] Char dev BKL pushdown v2, Stephen Rothwell, (Mon May 19, 12:03 am)
Re: [PATCH, RFC] Char dev BKL pushdown v2 , Jonathan Corbet, (Mon May 19, 9:46 am)
Re: [PATCH, RFC] Char dev BKL pushdown v2, Roland Dreier, (Mon May 19, 12:00 am)
Re: [PATCH, RFC] Char dev BKL pushdown v2 , Jonathan Corbet, (Mon May 19, 9:37 am)
Re: [PATCH, RFC] Char dev BKL pushdown v2, Roland Dreier, (Mon May 19, 4:38 pm)
Re: [PATCH, RFC] Char dev BKL pushdown v2 , Jonathan Corbet, (Mon May 19, 4:42 pm)
Re: [PATCH, RFC] Char dev BKL pushdown v2, Roland Dreier, (Mon May 19, 6:18 pm)
Re: [PATCH, RFC] Char dev BKL pushdown v2, Alan Cox, (Tue May 20, 4:26 am)
Re: [PATCH, RFC] Char dev BKL pushdown v2 , Jonathan Corbet, (Mon May 19, 6:56 pm)
Re: [PATCH, RFC] Char dev BKL pushdown v2, Jeff Dike, (Mon May 19, 10:10 pm)
speck-geostationary