lkml.org 
[lkml]   [2012]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v2 5/7] KVM: Introduce PV kick in flush tlb
Date
On Tue, 3 Jul 2012 05:07:13 -0300, Marcelo Tosatti <mtosatti@redhat.com> wrote:
> On Mon, Jun 04, 2012 at 10:38:17AM +0530, Nikunj A. Dadhania wrote:
> > In place of looping continuously introduce a halt if we do not succeed
> > after some time.
> >
> > For vcpus that were running an IPI is sent. In case, it went to sleep
> > between this, we will be doing flush_on_enter(harmless). But as a
> > flush IPI was already sent, that will be processed in ipi handler,
> > this might result into something undesireable, i.e. It might clear the
> > flush_mask of a new request.
> >
> > So after sending an IPI and waiting for a while, do a halt and wait
> > for a kick from the last vcpu.
> >
> > Signed-off-by: Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>
> > Signed-off-by: Nikunj A. Dadhania <nikunj@linux.vnet.ibm.com>
>
> Again, was it determined that this is necessary from data of
> benchmarking on the in-guest-mode/out-guest-mode patch?
>
No, this is more of a fix wrt algo.



\
 
 \ /
  Last update: 2012-07-03 10:41    [from the cache]
©2003-2011 Jasper Spaans