commit | c94e7ce36d57106a5138e5f595bebbf1a81b3ffb | [log] [tgz] |
---|---|---|
author | Quentin Perret <qperret@google.com> | Wed Sep 29 12:06:45 2021 +0100 |
committer | Will Deacon <will@kernel.org> | Wed Dec 01 15:48:19 2021 +0000 |
tree | ec8f4becfefd2259e18edd65b0077a9c0cfff48b | |
parent | 2dd995c5905b838635055bd5ba1e5c1bb172b822 [diff] |
KVM: arm64: Fix hyp_pool max order The EL2 page allocator in protected mode maintains a per-pool max order value to optimize allocations when the memory region it covers is small. However, the max order value is currently under-estimated whenever the number of pages in the region is a power of two. Fix the estimation. Signed-of-by: Quentin Perret <qperret@google.com>