And do some other alloc related things too... v2: - introduced alloc_zeroed_page [Paolo] - kept spinlocks in phys_alloc_init [Thomas] - added more improvements to alloc/free_page, e.g locks [drew] - force phys_alloc alignment to be set once [drew] - new patch that renames alloc.c's state [drew] - fix vmalloc-based memalign v1 bug. Didn't consider size offset [drew] - added huge commit message for "lib/x86/vm: enable malloc and friends" to try to justify it [drew] Didn't take Thomas' r-b for "move heap management to lib", because it changed too much. Andrew Jones (6): lib/x86/vm: collection of improvements lib/alloc: improve init lib/alloc: prepare to extend alloc.c's purpose x86: lib/alloc: move heap management to lib x86: lib/alloc: introduce alloc_zeroed_page lib/x86/vm: enable malloc and friends lib/alloc.c | 160 +++++++++++++++++++++++++++++++++++++--------------- lib/alloc.h | 18 +++++- lib/arm/setup.c | 2 +- lib/powerpc/setup.c | 2 +- lib/x86/asm/page.h | 2 + lib/x86/vm.c | 105 ++++++++++++++++++++-------------- lib/x86/vm.h | 2 +- x86/Makefile.common | 1 + x86/vmx.c | 19 +++---- x86/vmx_tests.c | 28 ++++----- 10 files changed, 217 insertions(+), 122 deletions(-) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html