Re: [RFC PATCH 00/12] KVM: MMU: locklessly wirte-protect

2013-08-29 Thread Gleb Natapov
On Sat, Aug 03, 2013 at 02:09:43PM +0900, Takuya Yoshikawa wrote: > On Tue, 30 Jul 2013 21:01:58 +0800 > Xiao Guangrong wrote: > > > Background > > == > > Currently, when mark memslot dirty logged or get dirty page, we need to > > write-protect large guest memory, it is the heavy work,

Re: [RFC PATCH 00/12] KVM: MMU: locklessly wirte-protect

2013-08-29 Thread Gleb Natapov
On Sat, Aug 03, 2013 at 02:09:43PM +0900, Takuya Yoshikawa wrote: On Tue, 30 Jul 2013 21:01:58 +0800 Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com wrote: Background == Currently, when mark memslot dirty logged or get dirty page, we need to write-protect large guest memory, it

Re: [RFC PATCH 00/12] KVM: MMU: locklessly wirte-protect

2013-08-08 Thread Xiao Guangrong
On 08/09/2013 01:38 AM, Paolo Bonzini wrote: > Il 06/08/2013 15:16, Xiao Guangrong ha scritto: >> Hi Gleb, Paolo, Marcelo, Takuya, >> >> Any comments or further comments? :) > > It's not the easiest patch to review. I've looked at it (beyond the > small comments I have already posted), but it

Re: [RFC PATCH 00/12] KVM: MMU: locklessly wirte-protect

2013-08-08 Thread Paolo Bonzini
Il 06/08/2013 15:16, Xiao Guangrong ha scritto: > Hi Gleb, Paolo, Marcelo, Takuya, > > Any comments or further comments? :) It's not the easiest patch to review. I've looked at it (beyond the small comments I have already posted), but it will take some time to digest it... By the way, both I

Re: [RFC PATCH 00/12] KVM: MMU: locklessly wirte-protect

2013-08-08 Thread Paolo Bonzini
Il 06/08/2013 15:16, Xiao Guangrong ha scritto: Hi Gleb, Paolo, Marcelo, Takuya, Any comments or further comments? :) It's not the easiest patch to review. I've looked at it (beyond the small comments I have already posted), but it will take some time to digest it... By the way, both I and

Re: [RFC PATCH 00/12] KVM: MMU: locklessly wirte-protect

2013-08-08 Thread Xiao Guangrong
On 08/09/2013 01:38 AM, Paolo Bonzini wrote: Il 06/08/2013 15:16, Xiao Guangrong ha scritto: Hi Gleb, Paolo, Marcelo, Takuya, Any comments or further comments? :) It's not the easiest patch to review. I've looked at it (beyond the small comments I have already posted), but it will take

Re: [RFC PATCH 00/12] KVM: MMU: locklessly wirte-protect

2013-08-06 Thread Xiao Guangrong
Hi Gleb, Paolo, Marcelo, Takuya, Any comments or further comments? :) On 07/30/2013 09:01 PM, Xiao Guangrong wrote: > Background > == > Currently, when mark memslot dirty logged or get dirty page, we need to > write-protect large guest memory, it is the heavy work, especially, we need to

Re: [RFC PATCH 00/12] KVM: MMU: locklessly wirte-protect

2013-08-06 Thread Xiao Guangrong
Hi Gleb, Paolo, Marcelo, Takuya, Any comments or further comments? :) On 07/30/2013 09:01 PM, Xiao Guangrong wrote: Background == Currently, when mark memslot dirty logged or get dirty page, we need to write-protect large guest memory, it is the heavy work, especially, we need to

Re: [RFC PATCH 00/12] KVM: MMU: locklessly wirte-protect

2013-08-04 Thread Xiao Guangrong
On Aug 3, 2013, at 1:09 PM, Takuya Yoshikawa wrote: > On Tue, 30 Jul 2013 21:01:58 +0800 > Xiao Guangrong wrote: > >> Background >> == >> Currently, when mark memslot dirty logged or get dirty page, we need to >> write-protect large guest memory, it is the heavy work, especially, we

Re: [RFC PATCH 00/12] KVM: MMU: locklessly wirte-protect

2013-08-04 Thread Xiao Guangrong
On Aug 3, 2013, at 1:09 PM, Takuya Yoshikawa takuya.yoshik...@gmail.com wrote: On Tue, 30 Jul 2013 21:01:58 +0800 Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com wrote: Background == Currently, when mark memslot dirty logged or get dirty page, we need to write-protect large guest

Re: [RFC PATCH 00/12] KVM: MMU: locklessly wirte-protect

2013-08-02 Thread Takuya Yoshikawa
On Tue, 30 Jul 2013 21:01:58 +0800 Xiao Guangrong wrote: > Background > == > Currently, when mark memslot dirty logged or get dirty page, we need to > write-protect large guest memory, it is the heavy work, especially, we need to > hold mmu-lock which is also required by vcpu to fix its

Re: [RFC PATCH 00/12] KVM: MMU: locklessly wirte-protect

2013-08-02 Thread Takuya Yoshikawa
On Tue, 30 Jul 2013 21:01:58 +0800 Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com wrote: Background == Currently, when mark memslot dirty logged or get dirty page, we need to write-protect large guest memory, it is the heavy work, especially, we need to hold mmu-lock which is also

[RFC PATCH 00/12] KVM: MMU: locklessly wirte-protect

2013-07-30 Thread Xiao Guangrong
Background == Currently, when mark memslot dirty logged or get dirty page, we need to write-protect large guest memory, it is the heavy work, especially, we need to hold mmu-lock which is also required by vcpu to fix its page table fault and mmu-notifier when host page is being changed. In

[RFC PATCH 00/12] KVM: MMU: locklessly wirte-protect

2013-07-30 Thread Xiao Guangrong
Background == Currently, when mark memslot dirty logged or get dirty page, we need to write-protect large guest memory, it is the heavy work, especially, we need to hold mmu-lock which is also required by vcpu to fix its page table fault and mmu-notifier when host page is being changed. In