Re: [PATCH 2/3] kvm: use this_cpu_xxx replace percpu_xxx funcs

From: Alex,Shi
Date: Mon Nov 21 2011 - 04:02:25 EST


On Mon, 2011-10-24 at 19:05 +0800, Avi Kivity wrote:
> On 10/24/2011 04:50 AM, Alex,Shi wrote:
> > On Thu, 2011-10-20 at 15:34 +0800, Alex,Shi wrote:
> > > percpu_xxx funcs are duplicated with this_cpu_xxx funcs, so replace them
> > > for further code clean up.
> > >
> > > And in preempt safe scenario, __this_cpu_xxx funcs has a bit better
> > > performance since __this_cpu_xxx has no redundant preempt_disable()
> > >
> >
> > Avi:
> > Would you like to give some comments of this?
> >
>
> Sorry, was travelling:
>
> Acked-by: Avi Kivity <avi@xxxxxxxxxx>
>

And this one, picking up or comments are all appreciated. :)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/