]> Zhao Yanbai Git Server - minix.git/commit
let vm use physically fragmented memory for allocations.
authorBen Gras <ben@minix3.org>
Mon, 12 Apr 2010 11:25:24 +0000 (11:25 +0000)
committerBen Gras <ben@minix3.org>
Mon, 12 Apr 2010 11:25:24 +0000 (11:25 +0000)
commitc78250332d821120f6e832644ffa51eed86cab95
treec7d58dfe083828e5625653af467edda4a3bfcd22
parent76fbf210263a4b9b73e6c61977d65fe570b70ec9
let vm use physically fragmented memory for allocations.

map_copy_ph_block is replaced by map_clone_ph_block, which can
replace a single physical block by multiple physical blocks.

also,
 . merge map_mem.c with region.c, as they manipulate the same
   data structures
 . NOTRUNNABLE removed as sanity check
 . use direct functions for ALLOC_MEM and FREE_MEM again
 . add some checks to shared memory mapping code
 . fix for data structure integrity when using shared memory
 . fix sanity checks
22 files changed:
servers/vm/Makefile
servers/vm/alloc.c
servers/vm/arch/i386/pagetable.c
servers/vm/arch/i386/vm.c
servers/vm/exec.c
servers/vm/exit.c
servers/vm/fork.c
servers/vm/glo.h
servers/vm/main.c
servers/vm/map_mem.c [deleted file]
servers/vm/memlist.h [new file with mode: 0644]
servers/vm/mmap.c
servers/vm/pagefaults.c
servers/vm/proto.h
servers/vm/region.c
servers/vm/region.h
servers/vm/rs.c
servers/vm/sanitycheck.h
servers/vm/slaballoc.c
servers/vm/util.h
servers/vm/vm.h
servers/vm/vmproc.h