<div dir="ltr"><div dir="ltr"><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>BugLink: <a href="http://bugs.launchpad.net/bugs/1800849">http://bugs.launchpad.net/bugs/1800849</a></div><div><br></div><div>== SRU Justification ==</div><div><br></div><div>Description: kvm: fix deadlock when killed by oom</div><div>Symptom: oom killer leaves processes in a deadlock state.</div><div>Problem: The problem arises in the rare cases in which</div><div>         handle_mm_fault does not release the mm_sem.</div><div>Solution: Correct the issue by manually release the mm_sem when needed.</div><div><br></div><div>== Fix ==</div><div><br></div><div>306d6c49ac9ded11114cb53b0925da52f2c2ada1 ("s390/kvm: fix deadlock when killed by oom")</div><div><br></div><div>== Regression Potential ==<br></div><div><br></div><div>Low and minimal, because:</div><div>- s390x only</div><div>- limited to one single file: /arch/s390/mm/fault.c</div><div>- just two additional lines added (if stmt)</div><div>- Xenial and Cosmic already have this commit via upstream stable updates.</div><div>- Hence patch is just missing in Bionic.</div><div>- Test kernel was build for testting.</div><div><br></div><div>== Test Case ==</div><div><br></div><div>Create numerous KVM guests so that the host starts swapping</div><div>and memory becomes overcomitted and the oom killer is triggered.<br></div><div><br></div></div></div></div></div></div></div></div></div></div></div></div>