]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: s390: Add gmap_helper_set_unused()
authorClaudio Imbrenda <imbrenda@linux.ibm.com>
Wed, 4 Feb 2026 15:02:34 +0000 (16:02 +0100)
committerClaudio Imbrenda <imbrenda@linux.ibm.com>
Wed, 4 Feb 2026 16:00:08 +0000 (17:00 +0100)
commitc98175b7917fa81cd499b1527c4a57fd7d36711e
treedf54a5f0afbf85df5c9bce357a9dacd746b145fe
parent4dadf64d9b75916081a55f9fbdc70e33be8d3ead
KVM: s390: Add gmap_helper_set_unused()

Add gmap_helper_set_unused() to mark userspace ptes as unused.

Core mm code will use that information to discard unused pages instead
of attempting to swap them.

Reviewed-by: Nico Boehr <nrb@linux.ibm.com>
Tested-by: Nico Boehr <nrb@linux.ibm.com>
Acked-by: Christoph Schlameuss <schlameuss@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
arch/s390/include/asm/gmap_helpers.h
arch/s390/mm/gmap_helpers.c