sched_yield() is very slow when other threads are busy on FreeBSD-current

David Schwartz davids at
Tue Oct 2 16:34:42 PDT 2007

> Can you please try the enclosed patch and tell me if it addresses your
> problem?
> Thanks,
> Jeff

Wow. Who thought processes should be *punished* for voluntarily giving up
the CPU? If anything, playing nice with others should be rewarded.


More information about the freebsd-threads mailing list