summaryrefslogtreecommitdiff
path: root/arch/arm64/kvm/hyp/nvhe/mem_protect.c
diff options
context:
space:
mode:
authorQuentin Perret <qperret@google.com>2021-06-08 11:45:14 +0000
committerMarc Zyngier <maz@kernel.org>2021-06-11 13:24:11 +0100
commit914cde58a03cc5eef858db34687433e17d0e44be (patch)
tree8cadb4eb7d1a61219d755b97ec262a02bd6ba5b2 /arch/arm64/kvm/hyp/nvhe/mem_protect.c
parent581982decc635c93934aaeb88d62c21238c63f11 (diff)
KVM: arm64: Remove list_head from hyp_page
The list_head member of struct hyp_page is only needed when the page is attached to a free-list, which by definition implies the page is free. As such, nothing prevents us from using the page itself to store the list_head, hence reducing the size of the vmemmap. Signed-off-by: Quentin Perret <qperret@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20210608114518.748712-4-qperret@google.com
Diffstat (limited to 'arch/arm64/kvm/hyp/nvhe/mem_protect.c')
0 files changed, 0 insertions, 0 deletions