Re: push kernel lock down in ifioctl()

2022-11-07 Thread Klemens Nanni
On Mon, Nov 07, 2022 at 03:48:46PM +, Martin Pieuchot wrote: > On 07/11/22(Mon) 15:16, Klemens Nanni wrote: > > Not all interface ioctls need the kernel lock, but they all grab it. > > > > Here's a mechanical diff splitting the single lock/unlock around > > ifioctl() into individual lock/unloc

Re: push kernel lock down in ifioctl()

2022-11-07 Thread Martin Pieuchot
On 07/11/22(Mon) 15:16, Klemens Nanni wrote: > Not all interface ioctls need the kernel lock, but they all grab it. > > Here's a mechanical diff splitting the single lock/unlock around > ifioctl() into individual lock/unlock dances inside ifioctl(). > > From there we can unlock individual ioctls

push kernel lock down in ifioctl()

2022-11-07 Thread Klemens Nanni
Not all interface ioctls need the kernel lock, but they all grab it. Here's a mechanical diff splitting the single lock/unlock around ifioctl() into individual lock/unlock dances inside ifioctl(). >From there we can unlock individual ioctls piece by piece. Survives regress on sparc64 and didn't