commit | a0bf4f149bbfa2e31b5f4172c817afdb7b986733 | [log] [tgz] |
---|---|---|
author | Dominik Dingel <dingel@linux.vnet.ibm.com> | Mon Mar 24 14:27:58 2014 +0100 |
committer | Christian Borntraeger <borntraeger@de.ibm.com> | Tue Apr 22 09:36:27 2014 +0200 |
tree | ed16368e498daaf4451241b5c734368a31986b1e | |
parent | 0a61b222df75a6a69dc34816f7db2f61fee8c935 [diff] |
KVM: s390/mm: new gmap_test_and_clear_dirty function For live migration kvm needs to test and clear the dirty bit of guest pages. That for is ptep_test_and_clear_user_dirty, to be sure we are not racing with other code, we protect the pte. This needs to be done within the architecture memory management code. Signed-off-by: Dominik Dingel <dingel@linux.vnet.ibm.com> Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>