On 07/30/16 02:41, Alexander Bluhm wrote: > On Fri, Jul 29, 2016 at 08:07:14PM -0400, Ted Unangst wrote: >> There's a sched_yield() in taskq_thread(). Something's not quite right. > > It is a sched_pause() in taskq_thread(). > > If I replace my yield() with sched_pause(), the userland hangs > during splicing. Looks like SPCF_SHOULDYIELD is not set.
Are you sure it is not set? Or does the scheduler keeps selecting your task? > During my test I run "while date; do sleep 1; done" on the console. > It does not make progress as long data is spliced.
