Page map interface and munmap changes
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 13 Jan 2014 18:24:12 +0000 (10:24 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 17 Jan 2014 22:57:12 +0000 (14:57 -0800)
commit783b49e5881c5ba01fb779e77e48020847fa95ce
tree63bdb84184481c8d1e7b4f60893adacafcd211ab
parent1514c9fd1f4f7fdd44fd2c1242fb4462a6d0971a
Page map interface and munmap changes

The PM interface was slimmed a bit.  We still will need to change the
usages of pm_put_page for mmap a little.

munmap is a bit more efficient, and the VMRs are explicitly unmapped.
We'll need to do this instead of just blindly decreffing an entire
address space, since we need to handle PM pages differently.
kern/include/mm.h
kern/include/page_alloc.h
kern/include/pagemap.h
kern/src/blockdev.c
kern/src/mm.c
kern/src/pagemap.c
kern/src/process.c
kern/src/syscall.c
kern/src/vfs.c