Re: [PATCH 05/10] x86_64: Use generic percpu
- From: Mike Travis <travis@xxxxxxx>
- Date: Mon, 31 Dec 2007 08:19:53 -0800
Andi Kleen wrote:
On Friday 28 December 2007 23:05:05 Mike Travis wrote:
Andi Kleen wrote:[...] That should be in the changelog of the patch.
On Friday 28 December 2007 01:10:51 travis@xxxxxxx wrote:The specific intent for the next wave of changes coming are to reduce
x86_64 provides an optimized way to determine the local per cpu areaAnd? The rationale for this patch seems to be incomplete.
offset through the pda and determines the base by accessing a remote
pda.
As far as I can figure out you're replacing an optimized percpu
implementation which a dumber generic one. Which needs
at least some description why.
Anyways the difference between the x86 percpu.h and the generic one is
that x86-64 uses a short cut through the PDA to get the current cpu
offset for the current CPU case. The generic one goes through
smp_processor_id()->array reference instead.
I would request that this optimization is not being removed
without suitable replacement in the same patchkit.
-Andi
I'll take a closer look at this, but it may have to wait until Christoph
is back this Wednesday.
Thanks,
Mike
--
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/
- References:
- [PATCH 00/10] percpu: Per cpu code simplification V2
- From: travis
- Re: [PATCH 05/10] x86_64: Use generic percpu
- From: Andi Kleen
- Re: [PATCH 05/10] x86_64: Use generic percpu
- From: Mike Travis
- Re: [PATCH 05/10] x86_64: Use generic percpu
- From: Andi Kleen
- [PATCH 00/10] percpu: Per cpu code simplification V2
- Prev by Date: Re: TOMOYO Linux Security Goal
- Next by Date: Re: [PATCH 05/10] x86_64: Use generic percpu
- Previous by thread: Re: [PATCH 05/10] x86_64: Use generic percpu
- Next by thread: Re: [PATCH 05/10] x86_64: Use generic percpu
- Index(es):
Relevant Pages
|
|