On 05/12/2015 04:22 PM, Paolo Bonzini wrote:
On 12/05/2015 04:32, Xiao Guangrong wrote:
+ if (iterator.rmap)
+ flush |= fn(kvm, iterator.rmap);
+
+ if (need_resched() || spin_needbreak(>mmu_lock)) {
+ if (flush &
On 12/05/2015 04:32, Xiao Guangrong wrote:
> + if (iterator.rmap)
> + flush |= fn(kvm, iterator.rmap);
> +
> + if (need_resched() || spin_needbreak(>mmu_lock)) {
> + if (flush & lock_flush_tlb) {
&&, not &. (Cosmetic only).
Paolo
On 12/05/2015 04:32, Xiao Guangrong wrote:
+ if (iterator.rmap)
+ flush |= fn(kvm, iterator.rmap);
+
+ if (need_resched() || spin_needbreak(kvm-mmu_lock)) {
+ if (flush lock_flush_tlb) {
, not . (Cosmetic only).
Paolo
--
To
On 05/12/2015 04:22 PM, Paolo Bonzini wrote:
On 12/05/2015 04:32, Xiao Guangrong wrote:
+ if (iterator.rmap)
+ flush |= fn(kvm, iterator.rmap);
+
+ if (need_resched() || spin_needbreak(kvm-mmu_lock)) {
+ if (flush
There are several places walking all rmaps for the memslot so that
introduce common functions to cleanup the code
Signed-off-by: Xiao Guangrong
---
arch/x86/kvm/mmu.c | 69 ++
1 file changed, 69 insertions(+)
diff --git a/arch/x86/kvm/mmu.c
There are several places walking all rmaps for the memslot so that
introduce common functions to cleanup the code
Signed-off-by: Xiao Guangrong guangrong.x...@linux.intel.com
---
arch/x86/kvm/mmu.c | 69 ++
1 file changed, 69 insertions(+)
6 matches
Mail list logo