Subject: Re: more funky stuff with kthreads and interrupts
To: Toru Nishimura <nisimura@itc.aist-nara.ac.jp>
From: Jason R Thorpe <thorpej@zembu.com>
List: port-mips
Date: 05/04/2001 08:55:49
On Fri, May 04, 2001 at 02:20:53PM +0900, Toru Nishimura wrote:

 > I'm going to fix the annoyance by inserting savectx() call just prior
 > to memcpy'ing of PCBs.  This would be a waste of CPU cycle comparing
 > to add a single line of value assignment.  Introduction of sysproc by
 > kthread damaged fork semantics somehow, I think.  Comment?

How about, in proc_trampoline, make a call to _spllower(0) after
restoring the SR from the trapframe?

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>