Convert calls of get_cont_pages() to kpages_alloc
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 23 Nov 2016 16:58:18 +0000 (11:58 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 29 Nov 2016 16:27:40 +0000 (11:27 -0500)
commit57b4356f1ca18ad7f331b6a9fc5b39fd128d15a2
tree0b641900ccfc1990f1cede508993d6254ea667d0
parenteda7a6bbedb270df3f17d17e42681691290f1096
Convert calls of get_cont_pages() to kpages_alloc

get_cont_pages() and its 'order' interface are a mess.  Just ask for how
much memory you want, and let the allocator figure it out.

Also, get_cont_pages_node() was just pretending to do something
NUMA-related.  Remove it for now, and we can 'do the right thing' when we
figure it all out.

Linux code can still use get_cont_pages().  The semantics of that will
change shortly.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/arch/x86/pmap64.c
kern/arch/x86/ros/vmx.h
kern/arch/x86/vmm/intel/vmx.c
kern/include/kmalloc.h
kern/include/page_alloc.h
kern/src/env.c
kern/src/kmalloc.c
kern/src/kthread.c
kern/src/page_alloc.c
kern/src/process.c