Re: [PATCH v4 10/15] KVM: s390: stop using page->index for non-shadow gmaps

Christoph Schlameuss
2025-01-27T09:27:09Z

On Thu Jan 23, 2025 at 3:46 PM CET, Claudio Imbrenda wrote:
> The host_to_guest radix tree will now map userspace addresses to guest
> addresses, instead of userspace addresses to segment tables.
>
> When segment tables and page tables are needed, they are found using an
> additional gmap_table_walk().
>
> This gets rid of all usage of page->index for non-shadow gmaps.
>
> Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
> Reviewed-by: Janosch Frank <frankja@linux.ibm.com>

LGTM

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

> ---
> arch/s390/mm/gmap.c | 105 +++++++++++++++++++++++---------------------
> 1 file changed, 54 insertions(+), 51 deletions(-) …