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-17 08:38:41 +00:00
2017-05-17 21:14:27 +00:00
2017-05-16 14:21:37 +00:00
2017-05-17 22:05:07 +00:00
2017-03-26 21:14:49 +00:00
2017-05-05 20:00:53 +00:00
2017-05-15 21:44:40 +00:00
2017-05-18 18:35:14 +00:00
2017-05-17 22:13:07 +00:00
2017-05-07 22:04:12 +00:00
2017-05-17 00:34:34 +00:00
2017-05-17 00:34:34 +00:00
2017-05-18 18:35:14 +00:00
2017-05-17 00:34:34 +00:00
2017-05-18 08:25:07 +00:00
2017-05-06 06:20:34 +00:00
2017-05-17 00:34:34 +00:00
2017-02-28 23:42:47 +00:00
2017-05-18 18:24:11 +00:00
2017-05-17 00:34:34 +00:00
2017-05-17 00:34:34 +00:00
2017-05-18 06:15:42 +00:00
2017-05-17 00:34:34 +00:00
2017-05-17 19:34:36 +00:00
2017-04-27 15:03:24 +00:00
2017-05-17 09:04:09 +00:00
2017-05-17 00:34:34 +00:00
2017-05-17 00:34:34 +00:00
2017-05-07 14:33:58 +00:00
2017-02-28 23:42:47 +00:00
2017-04-13 21:54:19 +00:00
2017-02-28 23:42:47 +00:00
2017-04-17 17:07:00 +00:00
2017-05-09 18:28:42 +00:00
2017-05-17 22:13:07 +00:00
2017-04-19 17:06:32 +00:00
2017-05-17 00:34:34 +00:00
2017-04-03 10:15:58 +00:00
2017-05-17 16:32:24 +00:00
2017-05-16 23:31:52 +00:00
2017-03-27 10:48:28 +00:00
2017-05-09 05:08:47 +00:00
2017-03-10 22:45:07 +00:00
2017-05-07 14:59:45 +00:00
2017-05-02 18:40:41 +00:00
2017-05-16 14:21:37 +00:00
2017-03-07 09:17:48 +00:00
2017-05-01 05:59:52 +00:00