Subject: Re: Interrupt level in system call
To: None <port-sh3@NetBSD.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: port-sh3
Date: 10/08/2006 22:27:41
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
--
uwe@ptc.spbu.ru | Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen