mbox series

[v3,0/1] fix race in gmap_make_secure()

Message ID 20230428092753.27913-1-imbrenda@linux.ibm.com (mailing list archive)
Headers show
Series fix race in gmap_make_secure() | expand

Message

Claudio Imbrenda April 28, 2023, 9:27 a.m. UTC
This fixes a potential race and, most importantly, removes the last
user of follow_page() without FOLL_GET.

This removes the last user of follow_page without FOLL_GET. Once this
patch is merged I'll send a separate patch to perform FOLL_GET
automatically with follow_page, as suggested by Jason Gunthorpe.

v1->v2:
* fix and improve commit message [thanks Heiko]

Claudio Imbrenda (1):
  KVM: s390: fix race in gmap_make_secure()

 arch/s390/kernel/uv.c | 32 +++++++++++---------------------
 1 file changed, 11 insertions(+), 21 deletions(-)