Date: Sun, 3 Aug 2003 17:08:39 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ia64/ia64 exception.S genassym.c Message-ID: <200308040008.h7408dl6057539@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2003/08/03 17:08:39 PDT
FreeBSD src repository
Modified files:
sys/ia64/ia64 exception.S genassym.c
Log:
Fix handling of external interrupts: we weren't calling ast() when
interrupting user mode. The net effect of this bug is that a clock
interrupt does not cause rescheduling and processes are not
preempted. It only takes a "while (1);" to render the machine
useless.
This bug was introduced by the context changes and EPC syscall code.
Handling of ASTs was moved to C for clarity and ease of maintenance,
but was not added for the external interrupt case.
This needs to be revisited. We now have calls to do_ast() in trap(),
break_syscall() and ivt_External_Interrupt(). A single call in
exception_restore covers these 3 places without duplication. This
is where we handled ASTs prior to the overhaul, except that the
meat has been moved to do_ast(), a C function. This was the goal
to begin with.
Pointy hat: marcel
Revision Changes Path
1.49 +50 -13 src/sys/ia64/ia64/exception.S
1.35 +1 -1 src/sys/ia64/ia64/genassym.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308040008.h7408dl6057539>
