public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Unserializing ioctl() system calls
@ 2004-05-22  2:46 Spinka, Kristofer
  2004-05-22  2:54 ` viro
  0 siblings, 1 reply; 4+ messages in thread
From: Spinka, Kristofer @ 2004-05-22  2:46 UTC (permalink / raw)
  To: linux-kernel

I noticed that even in the 2.6.6 code, callers to ioctl 
system call (sys_ioctl in fs/ioctl.c) are serialized with 
{lock,unlock}_kernel().

I realize that many kernel modules, and POSIX for that 
matter, may not be ready to make this more concurrent.

I propose adding a flag to indicate that the underlying 
module would like to support its own concurrency 
management, and thus we avoid grabbing the BKL around the 
f_op->ioctl call.

The default behavior would adhere to existing standards, 
and if the flag is present (in the underlying module), we 
let the module (or modules) handle it.

Reasonable?

   /kristofer

^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <1YuKj-2FZ-9@gated-at.bofh.it>]

end of thread, other threads:[~2004-05-22  8:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-22  2:46 Unserializing ioctl() system calls Spinka, Kristofer
2004-05-22  2:54 ` viro
2004-05-22  3:35   ` Spinka, Kristofer
     [not found] <1YuKj-2FZ-9@gated-at.bofh.it>
2004-05-22  8:03 ` Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox