Commit c04bf723 authored by Vincent Donnefort's avatar Vincent Donnefort Committed by Oliver Upton
Browse files

KVM: arm64: Do not transfer page refcount for THP adjustment



GUP affects a refcount common to all pages forming the THP. There is
therefore no need to move the refcount from a tail to the head page.
Under the hood it decrements and increments the same counter.

Signed-off-by: default avatarVincent Donnefort <vdonnefort@google.com>
Reviewed-by: default avatarGavin Shan <gshan@redhat.com>
Reviewed-by: default avatarMarc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230928173205.2826598-2-vdonnefort@google.com


Signed-off-by: default avatarOliver Upton <oliver.upton@linux.dev>
parent 909b583f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment