[lkml]   [2008]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH, RFC] Char dev BKL pushdown v2
 > 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?


 \ /
  Last update: 2008-05-20 00:23    [W:0.110 / U:2.296 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site