- Sep 02, 2010
-
-
Austin Clements authored
Simplify allocuvm/deallocuvm to operate in a contiguous memory model. This makes their interface match up better with proc->sz and also simplifies the callers (it even gets the main body of exec on one page).
-
Austin Clements authored
-
Austin Clements authored
-
Austin Clements authored
Rearrange proc.h and proc.c to get our action-packed spreads back (mostly). They also make sense in this order, so it's not just for page layout.
-
- Aug 31, 2010
-
-
Austin Clements authored
-
Austin Clements authored
-
Robert Morris authored
do not keep sorted contiguous free list
-
- Aug 10, 2010
-
-
Robert Morris authored
-
- Aug 06, 2010
-
-
Robert Morris authored
put an invalid page below the stack have fork() handle invalid pages
-
- Aug 05, 2010
-
-
Robert Morris authored
fix corner cases with alignment when mapping kernel ELF file
-
- Jul 25, 2010
-
-
Frans Kaashoek authored
-
- Jul 23, 2010
-
-
Frans Kaashoek authored
Includes code for TLB shootdown (which actually seems unnecessary for xv6)
-
- Jul 02, 2010
-
-
Frans Kaashoek authored
-
- Sep 20, 2009
-
-
Frans Kaashoek authored
-
- Sep 03, 2009
-
-
Russ Cox authored
-
- Sep 02, 2009
- Aug 30, 2009
-
-
Russ Cox authored
* rename c/cp to cpu/proc * rename cpu.context to cpu.scheduler * fix some comments * formatting for printout
-
- Aug 08, 2009
-
-
Russ Cox authored
pdf has very good page breaks now. would be a good copy for fall 2009.
-
- Jul 12, 2009
-
-
Russ Cox authored
-
- Jul 11, 2009
-
-
Russ Cox authored
-
- May 30, 2009
- Mar 08, 2009
-
-
rsc authored
-
- Oct 14, 2008
- Sep 11, 2008
-
-
rtm authored
-
- Aug 28, 2008
-
-
rtm authored
-
- Aug 27, 2008
-
-
rtm authored
-
- Oct 20, 2007
-
-
rtm authored
-
- Sep 27, 2007
-
-
rsc authored
Final word on the locking fiasco? Change pushcli / popcli so that they can never turn on interrupts unexpectedly. That is, if interrupts are on, then pushcli(); popcli(); turns them off and back on, but if they are off to begin with, then pushcli(); popcli(); is a no-op. I think our fundamental mistake was having a primitive (release and then popcli nee spllo) that could turn interrupts on at unexpected moments instead of being explicit about when we want to start allowing interrupts. With the new semantics, all the manual fiddling of ncli to force interrupts off in certain sections goes away. In return, we must explicitly mark the places where we want to enable interrupts unconditionally, by calling sti(). There is only one: inside the scheduler loop.
-
rsc authored
-
rsc authored
-
rsc authored
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.
-
rsc authored
-