On Tue, Jul 03, 2018 at 12:38:37PM +0200, Martin Pieuchot wrote: > The next important step towards removing the KERNEL_LOCK() from the > kernel is to be able to execute ioctl(2)s without it. > > The first area that can benefit from this is obviously the Network > Stack. tb@ and kn@ are working on this area so they'll soon need a > way to test really test their diffs. > > But some pseudo-devices could also benefit from this. I'm thinking > at vmm(4), bpf(4) and pf(4) in a first place... > > So here's a diff that remove some duplicate logic from the generics > sys_ioctl() and sys_fcntl(). Once this is in we can start pushing > the KERNEL_LOCK() down, inside every `fo_ioctl'. > > While here I'm also getting rid of M_IOCTLOPS, all other places where > an allocation is needed for a syscall are using M_TEMP. So less is > more. > > Ok?
The M_IOCTLOPS change seems to require more discussion. ok for the rest.
