From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 09/20] KVM: MMU: Fix Wrong tlb flush order Date: Sun, 08 Jul 2007 15:42:04 +0300 Message-ID: <4690DB9C.3010605@qumranet.com> References: <11838956891287-git-send-email-avi@qumranet.com> <1183895689306-git-send-email-avi@qumranet.com> <20070708122137.GB30226@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Ingo Molnar Return-path: In-Reply-To: <20070708122137.GB30226-X9Un+BFzKDI@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Ingo Molnar wrote: > * Avi Kivity wrote: > > >> From: Shaohua Li >> >> Need to flush the tlb after updating a pte, not before. >> > > >> rmap_remove(vcpu, spte); >> - kvm_flush_remote_tlbs(vcpu->kvm); >> set_shadow_pte(spte, *spte & ~PT_WRITABLE_MASK); >> + kvm_flush_remote_tlbs(vcpu->kvm); >> > > hm, isnt this a must-have fix for v2.6.22 (and .21) as well? > Guest SMP support is only enabled by another patch in this patchset. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/