summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-07-15 00:03:01 +0000
committerobrien <obrien@FreeBSD.org>2001-07-15 00:03:01 +0000
commitc37f9bf14e59460fb949e607da4073e223e0972d (patch)
treee0f73e5dbb1f47d760c7d09cbc84d858c874735a /sys
parent75d66ffb77c2c457231f4d079d8b0b21a91c7cb5 (diff)
downloadFreeBSD-src-c37f9bf14e59460fb949e607da4073e223e0972d.zip
FreeBSD-src-c37f9bf14e59460fb949e607da4073e223e0972d.tar.gz
Turn off preemption on the Alpha for the time being. Peter and JHB aren't
sure when things got so bad (JHB says preemption worked just fine for months before the AlbertVM commit). Even post DillionVM locking commit, Miatas (DEC Personal Workstations) are very fragile -- not making it thru a world build. With this patch it does. Those hacking on SMPng will want to locally back out this commit. The rest of us will want to run with it until the SMPng guys figure out the problem(s). Submitted by: peter
Diffstat (limited to 'sys')
-rw-r--r--sys/alpha/alpha/interrupt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/alpha/alpha/interrupt.c b/sys/alpha/alpha/interrupt.c
index d82601e..489c948 100644
--- a/sys/alpha/alpha/interrupt.c
+++ b/sys/alpha/alpha/interrupt.c
@@ -444,7 +444,7 @@ alpha_dispatch_intr(void *frame, unsigned long vector)
"alpha_dispatch_intr: disabling vector 0x%x", i->vector);
ithd->it_disable(ithd->it_vector);
}
- error = ithread_schedule(ithd, !cold);
+ error = ithread_schedule(ithd, 0); /* XXX:no preemption for now */
KASSERT(error == 0, ("got an impossible stray interrupt"));
}
OpenPOWER on IntegriCloud