Re: socket splicing sleeps in task thread

2017-01-25 Thread Mike Belopuhov
On 25 January 2017 at 13:12, Alexander Bluhm wrote: > Hi, > > I ran the regression tests with netlock and kern.splassert=2. > > panic: sleep: sosplice failed insomnia > Stopped at Debugger+0x7: leave > TIDPIDUID PRFLAGS PFLAGS CPU COMMAND > 165128 1277 0

Re: socket splicing sleeps in task thread

2017-01-25 Thread Alexander Bluhm
Hi, I ran the regression tests with netlock and kern.splassert=2. panic: sleep: sosplice failed insomnia Stopped at Debugger+0x7: leave TIDPIDUID PRFLAGS PFLAGS CPU COMMAND 165128 1277 0 0x2 01 relayd * 72837 53210 0 0x14000

socket splicing sleeps in task thread

2016-12-20 Thread Alexander Bluhm
Hi, As NET_LOCK() is a read/write lock, it can sleep in sotask(). So the TASKQ_CANTSLEEP flag is no longer valid for the splicing thread. ok? bluhm Index: kern/uipc_socket.c === RCS file: /data/mirror/openbsd/cvs/src/sys/kern/uipc