summaryrefslogtreecommitdiffstats
path: root/lib/show_mem.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2012-05-09 23:49:24 +0000
committerAlexander Graf <agraf@suse.de>2012-05-16 15:02:12 +0200
commit51bfd2998113e1f8ce8dcf853407b76a04b5f2a0 (patch)
treec323aefd210110cfd65162f9c2a5d53f494ee8e1 /lib/show_mem.c
parentffe3649282946547f1b938e02c0228aead407a18 (diff)
downloadop-kernel-dev-51bfd2998113e1f8ce8dcf853407b76a04b5f2a0.zip
op-kernel-dev-51bfd2998113e1f8ce8dcf853407b76a04b5f2a0.tar.gz
KVM: PPC: Book3S HV: Fix bug leading to deadlock in guest HPT updates
When handling the H_BULK_REMOVE hypercall, we were forgetting to invalidate and unlock the hashed page table entry (HPTE) in the case where the page had been paged out. This fixes it by clearing the first doubleword of the HPTE in that case. This fixes a regression introduced in commit a92bce95f0 ("KVM: PPC: Book3S HV: Keep HPTE locked when invalidating"). The effect of the regression is that the host kernel will sometimes hang when under memory pressure. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib/show_mem.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud