Re: [PATCH v4 15/15] KVM: s390: remove the last user of page->index

Christoph Schlameuss
2025-01-27T09:36:40Z

On Thu Jan 23, 2025 at 3:46 PM CET, Claudio Imbrenda wrote:
> Shadow page tables use page->index to keep the g2 address of the guest
> page table being shadowed.
>
> Instead of keeping the information in page->index, split the address
> and smear it over the 16-bit softbits areas of 4 PGSTEs.
>
> This removes the last s390 user of page->index.
>
> Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
> Reviewed-by: Steffen Eiden <seiden@linux.ibm.com>

LGTM

Reviewed-by: Christoph Schlameuss <schlameuss@linux.ibm.com>

> ---
> arch/s390/include/asm/pgtable.h | 15 +++++++++++++++
> arch/s390/kvm/gaccess.c | 6 ++++--
> arch/s390/mm/gmap.c | 22 ++++++++++++++++++++--
> 3 files changed, 39 insertions(+), 4 deletions(-) …