Alexander Bluhm wrote:
> On Fri, Jul 29, 2016 at 06:46:52PM -0400, Ted Unangst wrote:
> > Alexander Bluhm wrote:
> > > + /* Avoid user land starvation. */
> > > + yield();
> > 
> > you don't need to yield here, the task framework should do that for you.
> 
> Perhaps the framework should do that, but it does not.  When I run
> my splicing test on a qemu virtual machine with vio interfaces, an
> interactive shell hangs completely while data is getting spliced
> with full load.  The yield() keeps it interactive.

Why do you always find the things that should work but don't? :)

There's a sched_yield() in taskq_thread(). Something's not quite right.

Reply via email to