Subject: cpu_switch() doesn't optimize self-switch?
To: None <port-mips@netbsd.org>
From: Nathan J. Williams <nathanw@MIT.EDU>
List: port-mips
Date: 03/23/2001 17:26:28
While digging around in various ports' locore.s files, I noticed that
the mips cpu_switch() implementation seems to be the only one that
doesn't optimize the case of switching from a process to itself (as
happens when the current process is the only runnable one, for
example).

Is there some reason not to do this, or is it simply not implemented?

        - Nathan