[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5419510E.2090404@redhat.com>
Date: Wed, 17 Sep 2014 11:14:54 +0200
From: Paolo Bonzini <pbonzini@...hat.com>
To: Tang Chen <tangchen@...fujitsu.com>, gleb@...nel.org,
mtosatti@...hat.com, nadav.amit@...il.com, jan.kiszka@....de
CC: kvm@...r.kernel.org, laijs@...fujitsu.com,
isimatu.yasuaki@...fujitsu.com, guz.fnst@...fujitsu.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v6 4/6] kvm, mem-hotplug: Reload L1' apic access page
on migration in vcpu_enter_guest().
Il 17/09/2014 10:13, Tang Chen ha scritto:
>
>
>> Please add a new function kvm_arch_mmu_notifier_invalidate_page, and
>> call it outside the mmu_lock.
>
> Then I think we need a macro to control the calling of this arch function
> since other architectures do not have it.
You can add an inline function that does nothing. There are other examples.
>> kvm_reload_apic_access_page need not be in virt/kvm/kvm_main.c, either.
>
> Since kvm_reload_apic_access_page() only calls make_all_cpus_request(),
> and make_all_cpus_request() is static, I'd like to make it non-static, rename
> it to kvm_make_all_cpus_request() and call it directly in kvm_arch_mmu_notifier_invalidate_page().
> we don't need kvm_reload_apic_access_page() actually.
Ok.
Paolo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists