]> Zhao Yanbai Git Server - minix.git/commit
vm: mmap support 44/544/15
authorBen Gras <ben@minix3.org>
Tue, 7 May 2013 12:36:09 +0000 (12:36 +0000)
committerBen Gras <ben@minix3.org>
Fri, 31 May 2013 15:42:01 +0000 (15:42 +0000)
commit49b9165251d9848f900767f9d1ff81ed9affa757
tree845aa72a392b8acc4414ca619f771ccd8b041a16
parentf369157d957f29b27aee481ea617501c3d80d779
vm: mmap support

. test74 for mmap functionality
. vm: add a mem_file memory type that specifies an mmap()ped
  memory range, backed by a file
. add fdref, an object that keeps track of FD references within
  VM per process and so knows how to de-duplicate the use of FD's
  by various mmap()ped ranges; there can be many more than there can
  be FD's
. turned off for now, enable with 'filemap=1' as boot option

Change-Id: I640b1126cdaa522a0560301cf6732b7661555672
22 files changed:
distrib/sets/lists/minix/mi
etc/boot.cfg.default
servers/vm/Makefile
servers/vm/arch/i386/pagetable.c
servers/vm/fdref.c [new file with mode: 0644]
servers/vm/fdref.h [new file with mode: 0644]
servers/vm/glo.h
servers/vm/main.c
servers/vm/mem_cache.c
servers/vm/mem_file.c [new file with mode: 0644]
servers/vm/mmap.c
servers/vm/proto.h
servers/vm/region.c
servers/vm/region.h
servers/vm/vfs.c [new file with mode: 0644]
test/Makefile
test/common.c
test/run
test/test71.c
test/test74.c [new file with mode: 0644]
test/testcache.c
test/testcache.h