Re: f_ops flag to speed up compatible ioctls in linux kernel

Chris Wright
2004-09-01T22:01:57Z

* Michael S. Tsirkin (mst@mellanox.co.il) wrote:
> Now that I look at the ioctl.c code, I see a several get_user/put_user
> inside the ioctl which are thus done while BKL is held.
> But I thought get_user can block?
>
> Why is this not a bug?

Look at release_kernel_lock, esp. in kernel/sched.c.
-chris