diff options
author | scottl <scottl@FreeBSD.org> | 2004-08-20 05:58:38 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2004-08-20 05:58:38 +0000 |
commit | 30583f7adf72c716f54e01c3c0e72211586b4149 (patch) | |
tree | 1530ea99a7b2e321008a63408ba10a7e4d00afe0 | |
parent | 83fb3b8169af54cf8dd7b52b74792426e8c79f76 (diff) | |
download | FreeBSD-src-30583f7adf72c716f54e01c3c0e72211586b4149.zip FreeBSD-src-30583f7adf72c716f54e01c3c0e72211586b4149.tar.gz |
Revert the previous change. It works great for 4BSD but causes major
problems for ULE. The reason is quite unknown and worrisome.
-rw-r--r-- | sys/kern/kern_switch.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/kern/kern_switch.c b/sys/kern/kern_switch.c index f2aa3e0..92e229e 100644 --- a/sys/kern/kern_switch.c +++ b/sys/kern/kern_switch.c @@ -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) || |