Re: [PATCH tip:x86/mm 3/3] acpi throttling: Use this_cpu_has andsimplify code current cpu

From: Christoph Lameter
Date: Wed Mar 30 2011 - 10:20:20 EST


On Mon, 28 Mar 2011, Tejun Heo wrote:

> On Sat, Mar 12, 2011 at 12:51:12PM +0100, Tejun Heo wrote:
> > From: Christoph Lameter <cl@xxxxxxxxx>
> >
> > With the this_cpu_xx we no longer need to pass an acpi
> > structure to the msr management code. Simplifies code and improves
> > performance.
> >
> > NOTE: This code is x86 specific (see #ifdef CONFIG_X86) but not under
> > arch/x86.
> >
> > Signed-off-by: Christoph Lameter <cl@xxxxxxxxx>
> > Acked-by: Tejun Heo <tj@xxxxxxxxxx>
> > ---
>
> Ingo, are you planning on picking these up?

Guess the patches missed the merge period. There could be more
optimizations of arch code if the infrastructure for this_cpu_has() would
be in but I guess I better hold off for awhile.

--
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/