android_kernel_motorola_sm6375/Documentation/virtual
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Janosch Frank 40ebdb8e59 KVM: s390: Make huge pages unavailable in ucontrol VMs
We currently do not notify all gmaps when using gmap_pmdp_xchg(), due
to locking constraints. This makes ucontrol VMs, which is the only VM
type that creates multiple gmaps, incompatible with huge pages. Also
we would need to hold the guest_table_lock of all gmaps that have this
vmaddr maped to synchronize access to the pmd.

ucontrol VMs are rather exotic and creating a new locking concept is
no easy task. Hence we return EINVAL when trying to active
KVM_CAP_S390_HPAGE_1M and report it as being not available when
checking for it.

Fixes: a4499382 ("KVM: s390: Add huge page enablement control")
Signed-off-by: Janosch Frank <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Reviewed-by: Claudio Imbrenda <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Janosch Frank <[email protected]>
2018-09-12 14:46:37 +02:00
..
kvm KVM: s390: Make huge pages unavailable in ucontrol VMs 2018-09-12 14:46:37 +02:00
uml Documentation: Update path to sysrq.txt 2017-03-03 15:48:38 -07:00
00-INDEX
paravirt_ops.txt