diff options
author | rsc <rsc> | 2007-09-27 20:29:50 +0000 |
---|---|---|
committer | rsc <rsc> | 2007-09-27 20:29:50 +0000 |
commit | ce2e7515552adca3a60e349de2931112736d17bf (patch) | |
tree | 4398d7aee836b939db83afa1f0c9f8e6bb1afb1f /elf.h | |
parent | aefc13f8ba13475fa721d6da837db5e368ee1b0a (diff) | |
download | xv6-labs-ce2e7515552adca3a60e349de2931112736d17bf.tar.gz xv6-labs-ce2e7515552adca3a60e349de2931112736d17bf.tar.bz2 xv6-labs-ce2e7515552adca3a60e349de2931112736d17bf.zip |
test: store curproc at top of stack
I don't actually think this is worthwhile, but I figured
I would check it in before reverting it, so that it can
be in the revision history.
Pros:
* curproc doesn't need to turn on/off interrupts
* scheduler doesn't have to edit curproc anymore
Cons:
* it's ugly
* all the stack computation is more complicated.
* it doesn't actually simplify anything but curproc,
and even curproc is harder to follow.
Diffstat (limited to 'elf.h')
0 files changed, 0 insertions, 0 deletions