+14
−37
+6
−3
+15
−11
+48
−34
+17
−12
Loading
In practice dat_crstep_xchg() is racy and hard to use correctly. Simply remove it and replace its uses with dat_crstep_xchg_atomic(). This solves some actual races that lead to system hangs / crashes. Opportunistically fix an alignment issue in _gmap_crstep_xchg_atomic(). Fixes: 589071ea ("KVM: s390: KVM page table management functions: clear and replace") Fixes: 94fd9b16 ("KVM: s390: KVM page table management functions: lifecycle management") Reviewed-by:Steffen Eiden <seiden@linux.ibm.com> Signed-off-by:
Claudio Imbrenda <imbrenda@linux.ibm.com>