Revert the previous change. It works great for 4BSD but causes major
problems for ULE. The reason is quite unknown and worrisome.
This commit is contained in:
parent
7a18f5c985
commit
2384290ced
@ -522,10 +522,6 @@ maybe_preempt(struct thread *td)
|
||||
* to the new thread.
|
||||
*/
|
||||
ctd = curthread;
|
||||
|
||||
if ((ctd->td_kse == NULL) || (ctd->td_kse->ke_thread != ctd))
|
||||
return (0);
|
||||
|
||||
pri = td->td_priority;
|
||||
cpri = ctd->td_priority;
|
||||
if (pri >= cpri || cold /* || dumping */ || TD_IS_INHIBITED(ctd) ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user