Page cache rewrite, including page removal
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 4 Feb 2014 23:21:38 +0000 (15:21 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Sun, 9 Feb 2014 07:22:59 +0000 (23:22 -0800)
commit2cf3a271fe50e319462bce1f7050393421544152
tree223738b81d89b72cc2777f15885661f6f4dc76c1
parente22fe0c24edbf8970c5a2477ce040ade957c8d68
Page cache rewrite, including page removal

Lightly tested.  pm_remove_contig() is made to handle all sorts of
races, but I haven't been able to test all of them.

If I screwed up something, like tracking dirty pages, we probably won't
notice til data magically disappears and programs silently fail.  It'd
be great to have someone review this, but that'll probably end up being
future-barret.
kern/include/page_alloc.h
kern/include/pagemap.h
kern/src/mm.c
kern/src/pagemap.c