Home
last modified time | relevance | path

Searched hist:"914 cde58" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/arm64/kvm/hyp/include/nvhe/
H A Dmemory.h914cde58 Tue Jun 08 06:45:14 CDT 2021 Quentin Perret <qperret@google.com> 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
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A Dpage_alloc.c914cde58 Tue Jun 08 06:45:14 CDT 2021 Quentin Perret <qperret@google.com> 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