OSDN Git Service

KVM: arm: page logging 2nd stage fault handling
authorMario Smarduch <m.smarduch@samsung.com>
Thu, 15 Jan 2015 23:58:58 +0000 (15:58 -0800)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 16 Jan 2015 13:42:44 +0000 (14:42 +0100)
commit15a49a44fc36209e1112e9b8451d653cd07f17a8
treec11b9b4161cf9fd017cc9831ee9bd5c7c2566607
parent53c810c364d7a2d5cebd5a0e4c882643af3b0a0e
KVM: arm: page logging 2nd stage fault handling

This patch adds support for 2nd stage page fault handling while dirty page
logging. On huge page faults, huge pages are dissolved to normal pages, and
rebuilding of 2nd stage huge pages is blocked. In case migration is
canceled this restriction is removed and huge pages may be rebuilt again.

Signed-off-by: Mario Smarduch <m.smarduch@samsung.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/kvm/mmu.c