]> Zhao Yanbai Git Server - minix.git/commit
vm: replace phys avl by array
authorBen Gras <ben@minix3.org>
Mon, 17 Dec 2012 18:26:52 +0000 (18:26 +0000)
committerBen Gras <ben@minix3.org>
Wed, 26 Dec 2012 16:14:41 +0000 (16:14 +0000)
commit29edcad310c8b7b5e4d185d4c29dc13bfdf6d085
tree91a0c81dd5d947f8b84c89583400946287f7d92a
parentcee2d9a296482c13d9df623d7341583b90a02311
vm: replace phys avl by array

 . make vm be able to use malloc() by overriding brk()
   and minix_mmap() functions
 . phys regions can then be malloc()ed and free()d instead
   of being in an avl tree, which is slightly faster
 . 'offset' field in phys_region can go too (offset is implied
   by position in array) but leads to bigger code changes
15 files changed:
lib/libc/stdlib/malloc.c
servers/vm/Makefile
servers/vm/arch/i386/pagetable.c
servers/vm/mem_anon_contig.c
servers/vm/mem_shared.c
servers/vm/pb.c
servers/vm/phys_region.h
servers/vm/physravl.c [deleted file]
servers/vm/physravl.h [deleted file]
servers/vm/physravl_defs.h [deleted file]
servers/vm/proto.h
servers/vm/region.c
servers/vm/region.h
servers/vm/utility.c
servers/vm/vmproc.h