Searched hist:"9 c60766887c647df7193463f7a2075e8993b514c" (Results 1 – 3 of 3) sorted by relevance
/qemu/include/qemu/ |
H A D | mmap-alloc.h | 9c60766887c647df7193463f7a2075e8993b514c Thu Mar 02 02:36:11 UTC 2017 Alexey Kardashevskiy <aik@ozlabs.ru> exec, kvm, target-ppc: Move getrampagesize() to common code
getrampagesize() returns the largest supported page size and mainly used to know if huge pages are enabled.
However is implemented in target-ppc/kvm.c and not available in TCG or other architectures.
This renames and moves gethugepagesize() to mmap-alloc.c where fd-based analog of it is already implemented. This renames and moves getrampagesize() to exec.c as it seems to be the common place for helpers like this.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
|
/qemu/util/ |
H A D | mmap-alloc.c | 9c60766887c647df7193463f7a2075e8993b514c Thu Mar 02 02:36:11 UTC 2017 Alexey Kardashevskiy <aik@ozlabs.ru> exec, kvm, target-ppc: Move getrampagesize() to common code
getrampagesize() returns the largest supported page size and mainly used to know if huge pages are enabled.
However is implemented in target-ppc/kvm.c and not available in TCG or other architectures.
This renames and moves gethugepagesize() to mmap-alloc.c where fd-based analog of it is already implemented. This renames and moves getrampagesize() to exec.c as it seems to be the common place for helpers like this.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
|
/qemu/target/ppc/ |
H A D | kvm.c | 9c60766887c647df7193463f7a2075e8993b514c Thu Mar 02 02:36:11 UTC 2017 Alexey Kardashevskiy <aik@ozlabs.ru> exec, kvm, target-ppc: Move getrampagesize() to common code
getrampagesize() returns the largest supported page size and mainly used to know if huge pages are enabled.
However is implemented in target-ppc/kvm.c and not available in TCG or other architectures.
This renames and moves gethugepagesize() to mmap-alloc.c where fd-based analog of it is already implemented. This renames and moves getrampagesize() to exec.c as it seems to be the common place for helpers like this.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
|