]> Zhao Yanbai Git Server - minix.git/commit
- pages that points to page directory values of all processes,
authorBen Gras <ben@minix3.org>
Mon, 21 Sep 2009 14:49:49 +0000 (14:49 +0000)
committerBen Gras <ben@minix3.org>
Mon, 21 Sep 2009 14:49:49 +0000 (14:49 +0000)
commit32fbbd370c9239eca821db504fd61cb2039807d7
treeb45e90517dfed7be6e287455edd93c5edff0bb56
parentf5459e38db44f5528f21a6421ce31424ddbaa386
 - pages that points to page directory values of all processes,
   shared with the kernel, mapped into kernel address space;
   kernel is notified of its location. kernel segment size is
   increased to make it fit.
 - map in kernel and other processes that don't have their
   own page table using single 4MB (global) mapping.
 - new sanity check facility: objects that are allocated with
   the slab allocator are, when running with sanity checking on,
   marked readonly until they are explicitly unlocked using the USE()
   macro.
 - another sanity check facility: collect all uses of memory and
   see if they don't overlap with (a) eachother and (b) free memory
 - own munmap() and munmap_text() functions.
 - exec() recovers from out-of-memory conditions properly now; this
   solves some weird exec() behaviour
 - chew off memory from the same side of the chunk as where we
   start scanning, solving some memory fragmentation issues
 - use avl trees for freelist and phys_ranges in regions
 - implement most useful part of munmap()
 - remap() stuff is GQ's for shared memory
36 files changed:
servers/vm/Makefile
servers/vm/addravl.c [new file with mode: 0644]
servers/vm/addravl.h [new file with mode: 0644]
servers/vm/alloc.c
servers/vm/break.c
servers/vm/cavl_if.h [new file with mode: 0755]
servers/vm/cavl_impl.h [new file with mode: 0755]
servers/vm/exec.c
servers/vm/exit.c
servers/vm/fork.c
servers/vm/glo.h
servers/vm/i386/arch_pagefaults.c
servers/vm/i386/arch_vmproc.h
servers/vm/i386/memory.h
servers/vm/i386/pagetable.c
servers/vm/i386/pagetable.h
servers/vm/i386/vm.c
servers/vm/main.c
servers/vm/mmap.c
servers/vm/pagefaults.c
servers/vm/pagerange.h [new file with mode: 0644]
servers/vm/physravl.c [new file with mode: 0644]
servers/vm/physravl.h [new file with mode: 0644]
servers/vm/proto.h
servers/vm/queryexit.c [new file with mode: 0644]
servers/vm/region.c
servers/vm/region.h
servers/vm/rs.c [new file with mode: 0644]
servers/vm/sanitycheck.h
servers/vm/signal.c
servers/vm/slaballoc.c
servers/vm/util.h
servers/vm/utility.c
servers/vm/vfs.c
servers/vm/vm.h
servers/vm/vmproc.h