Subject: Re: cpu_switch() bug?
To: None <email@example.com, firstname.lastname@example.org>
From: Tad Hunt <email@example.com>
Date: 02/20/2001 12:15:55
In message <200102201344.OAA07985@kurt.tools.de>, you said:
;The reason for writing the cpu_switch code in assembly is that it has to
;switch the stack, and while doing so, it has to save and restore the
;registers to/from known locations on the old/new stack so they can be
;manipulated by other parts of the kernel (like when doing a fork or exec).
Indeed. I missed that because I was too focused on the part that picks
the next process to run.
Thanks for the clarification.