]> Zhao Yanbai Git Server - minix.git/commit
VM: full munmap
authorBen Gras <ben@minix3.org>
Tue, 18 Sep 2012 11:17:52 +0000 (13:17 +0200)
committerBen Gras <ben@minix3.org>
Tue, 18 Sep 2012 11:17:52 +0000 (13:17 +0200)
commited1af3c86c88c1a39dd9b6f189f66dc30e3ed7c5
treeae367ecbfb472913c046d87cb13249d6e428bac2
parent16c3870b2e78ac249ec966294b4a97849dadc80d
VM: full munmap

complete munmap implementation; single-page references made
a general munmap() implementation possible to write cleanly.

. memory: let the MIOCRAMSIZE ioctl set the imgrd device
  size (but only to 0)
. let the ramdisk command set sizes to 0
. use this command to set /dev/imgrd to 0 after mounting /usr
  in /etc/rc, so the boot time ramdisk is freed (about 4MB
  currently)
15 files changed:
commands/ramdisk/ramdisk.c
drivers/memory/local.h
drivers/memory/memory.c
etc/rc
include/minix/com.h
include/sys/mman.h
lib/libc/include/namespace.h
lib/libc/sys-minix/mmap.c
servers/rs/memory.c
servers/vm/main.c
servers/vm/mmap.c
servers/vm/pb.c
servers/vm/proto.h
servers/vm/region.c
servers/vm/slaballoc.c