From c89564e46eaa9f63617d1e5e95bbce0d25ea42e0 Mon Sep 17 00:00:00 2001 From: Andrew Gallatin Date: Sat, 30 Oct 1999 15:20:31 +0000 Subject: [PATCH] Don't lower the ipl when returning from handling an interrupt. If the ipl is lowered here, a machine can rapidly run out of stack space when it is under heavy interrupt load. Without this fix, my test machine would fall over within a few seconds when forwarding 14,000 packets/sec. With the patch, it has been up for over 24 hours and has built the world at the same time. submitted by: dfr@freebsd.org --- sys/alpha/alpha/swtch.s | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/alpha/alpha/swtch.s b/sys/alpha/alpha/swtch.s index 4c263bdd68d..35f50b11c68 100644 --- a/sys/alpha/alpha/swtch.s +++ b/sys/alpha/alpha/swtch.s @@ -263,9 +263,6 @@ Ler1: LDGP(pv) CALL(do_sir) /* do the SIR; lowers IPL */ Lchkast: - ldiq a0, ALPHA_PSL_IPL_0 /* drop IPL to zero*/ - call_pal PAL_OSF1_swpipl - and s1, ALPHA_PSL_USERMODE, t0 /* are we returning to user? */ beq t0, Lrestoreregs /* no: just return */