Skip to content

KVM: s390: vsie: vsie page handling fixes + rework

David Hildenbrand kvm linux-s390 lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4KVM: s390: vsie: fix some corner-cases when grabbing vsie pagesarch/s390/kvm/vsie.c+19 -60 replies
2/4KVM: s390: vsie: stop using page->indexarch/s390/kvm/vsie.c+18 -100 replies
3/4KVM: s390: vsie: stop messing with page refcountarch/s390/kvm/vsie.c+30 -160 replies
4/4KVM: s390: vsie: stop using "struct page" for vsie pagearch/s390/include/asm/kvm_host.h arch/s390/kvm/vsie.c+15 -201 reply

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchClaudio ImbrendaChristoph Schlameuss
SeriesR-b R-b T-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/4] KVM: s390: vsie: vsie page handling fixes + rework

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.

Cc Christian Borntraeger <[email protected]>
Cc Janosch Frank <[email protected]>
Cc Claudio Imbrenda <[email protected]>
Cc Heiko Carstens <[email protected]>
Cc Vasily Gorbik <[email protected]>
Cc Alexander Gordeev <[email protected]>
Cc Sven Schnelle <[email protected]>
Cc Thomas Huth <[email protected]>
Cc Matthew Wilcox (Oracle) <[email protected]>

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

Signature · 1 line
2.47.1