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


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