markj 91faea9058 Fix a few uses of kern_yield() in the TTM and the LinuxKPI.
kern_yield(0) effectively causes the calling thread to be rescheduled
immediately since it resets the thread's priority to the highest possible
value. This can cause livelocks when the pattern
"while (!trylock()) kern_yield(0);" is used since the thread holding the
lock may linger on the runqueue for the CPU on which the looping thread is
running.

MFC after:	1 week
2017-05-18 18:35:14 +00:00
..
2017-05-18 08:25:07 +00:00
2017-02-28 23:42:47 +00:00
2017-05-18 18:24:11 +00:00
2017-05-07 14:33:58 +00:00
2017-02-28 23:42:47 +00:00
2017-02-28 23:42:47 +00:00
2017-05-16 23:31:52 +00:00
2017-05-09 05:08:47 +00:00
2017-05-07 14:59:45 +00:00
2017-05-02 18:40:41 +00:00