Re: Interrupt level in system call
"Valeriy E. Ushakov" <[email protected]> Sun, 8 Oct 2006 22:27:41 +0400
| Newsgroups | gmane.os.netbsd.ports.sh3 |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Jul 22, 2006 at 06:53:24 +0400, Valeriy E. Ushakov wrote: > On Fri, Jul 21, 2006 at 12:33:15 +0900, Masao Uebayashi wrote: > > > A co-worker found a problem that system calls in kernel mode are > > running in the highest interrupt level (SR:I[3-0] == 1111). > > Oops. > > > > Can't they safely run in the lowest interrupt level? > > They should. I've fixed general_exception() to drop back to the previous spl level (from SSR) - which improves things quite a bit already (e.g. running cu from a wscons terminal (i.e. slow rasops output) doesn't cause scif to lose incoming chars). tlb_exception() needs to be fixed too. SY, Uwe -- [email protected] | Zu Grunde kommen http://snark.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen