Subject: Re: halving context switch time
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: tech-perform
Date: 09/02/2002 15:13:46
der Mouse <mouse@Rodents.Montreal.QC.CA> writes:
> > I think the only call to cpu_switch is from mi_switch, as such its
> > current return value (the proc pointer) is never actually used.
>
> Then why not just redefine its return value in toto?
I did exactly this on the SA branch, and it didn't cause any
problems. As others have noted:
1) nothing currently in the main trunk pays attention to the return
value, which is good, because
2) the values that are returned are inconsistent, and
3) the function isn't expected to return anything by the caller.
- Nathan