]> rtime.felk.cvut.cz Git - jailhouse.git/commit
core: Add support for creating page tables with hugepages
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 4 Feb 2014 17:03:24 +0000 (18:03 +0100)
committerJan Kiszka <jan.kiszka@siemens.com>
Wed, 5 Feb 2014 10:39:25 +0000 (11:39 +0100)
commit1f77840325318ffe2237ff66462c550f03d1ff84
treecd230348938ad3504530e178849449af12007102
parent840614cc52094adbf7d533c9333e8ba7ded8e6fa
core: Add support for creating page tables with hugepages

When adding support for generating hugepages during page_map_create, we
also need to address the issue of overwriting or splitting up such
pages. When partially unmapping a hugepage, we need to break it up
first, then unmap the included pages. This break-up may fail when we are
short on memory, thus page_map_destroy may actually fail now, and we
have to take this into account on the caller side.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/arch/x86/control.c
hypervisor/arch/x86/include/asm/vmx.h
hypervisor/arch/x86/include/asm/vtd.h
hypervisor/arch/x86/vmx.c
hypervisor/arch/x86/vtd.c
hypervisor/include/jailhouse/paging.h
hypervisor/paging.c