On Tue Jan 7, 2025 at 4:43 PM CET, David Hildenbrand wrote: > We want to get rid of page->index, so let's make vsie code stop using it > for the vsie page. > > While at it, also remove the usage of page refcount, so we can stop messing > with "struct page" completely. > > ... of course, looking at this code after quite some years, I found some > corner cases that should be fixed. > > Briefly sanity tested with kvm-unit-tests running inside a KVM VM, and > nothing blew up. Reviewed and tested the whole series. Reviewed-by: Christoph Schlameuss <schlameuss@xxxxxxxxxxxxx> Tested-by: Christoph Schlameuss <schlameuss@xxxxxxxxxxxxx> > > Cc: Christian Borntraeger <borntraeger@xxxxxxxxxxxxx> > Cc: Janosch Frank <frankja@xxxxxxxxxxxxx> > Cc: Claudio Imbrenda <imbrenda@xxxxxxxxxxxxx> > Cc: Heiko Carstens <hca@xxxxxxxxxxxxx> > Cc: Vasily Gorbik <gor@xxxxxxxxxxxxx> > Cc: Alexander Gordeev <agordeev@xxxxxxxxxxxxx> > Cc: Sven Schnelle <svens@xxxxxxxxxxxxx> > Cc: Thomas Huth <thuth@xxxxxxxxxx> > Cc: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx> > > David Hildenbrand (4): > KVM: s390: vsie: fix some corner-cases when grabbing vsie pages > KVM: s390: vsie: stop using page->index > KVM: s390: vsie: stop messing with page refcount > KVM: s390: vsie: stop using "struct page" for vsie page > > arch/s390/include/asm/kvm_host.h | 4 +- > arch/s390/kvm/vsie.c | 104 ++++++++++++++++++++----------- > 2 files changed, 69 insertions(+), 39 deletions(-) > > > base-commit: fbfd64d25c7af3b8695201ebc85efe90be28c5a3