Re: sys_socket() plumbing

2018-02-08 Thread Martin Pieuchot
On 07/02/18(Wed) 16:11, Ted Unangst wrote: > Martin Pieuchot wrote: > > Diff below shuffles sys_socket() to look like sys_socketpair(). > > > > The goal is to do socket operations first in both functions. Since > > they don't need the KERNEL_LOCK(), we will be able to mark the syscalls > > NOLOCK

Re: sys_socket() plumbing

2018-02-07 Thread Ted Unangst
Martin Pieuchot wrote: > Diff below shuffles sys_socket() to look like sys_socketpair(). > > The goal is to do socket operations first in both functions. Since > they don't need the KERNEL_LOCK(), we will be able to mark the syscalls > NOLOCK and only grab it before messing with file descriptors.