freebsd-skq/sys/ufs
Attilio Rao b1308d72c2 Fixup r218424: uio_yield() was scaling directly to userland priority.
When kern_yield() was introduced with the possibility to specify
a new priority, the behaviour changed by not lowering priority at all
in the consumers, making the yielding mechanism highly ineffective for
high priority kthreads like bufdaemon, syncer, vlrudaemon, etc.
There are no evidences that consumers could bear with such change in
semantic and this situation could finally lead to bugs similar to the
ones fixed in r244240.
Re-specify userland pri for kthreads involved.

Tested by:	pho
Reviewed by:	kib, mdf
MFC after:	1 week
2012-12-21 13:14:12 +00:00
..
ffs Fixup r218424: uio_yield() was scaling directly to userland priority. 2012-12-21 13:14:12 +00:00
ufs Fix a typo, resulting in the NULL pointer dereference. 2012-12-15 02:03:59 +00:00