Re: [RFC 00/15] x86_64: Optimize percpu accesses
From: Christoph Lameter
Date: Wed Jul 09 2008 - 14:35:28 EST
Jeremy Fitzhardinge wrote:
> Eh? Yes they will. That's the whole point of making the pda a percpu
> variable itself. You can use %gs:<small> to get to the pda, and
> %gs:<larger> to get to percpu variables. Converting pda->percpu will
> just have the effect of increasing the %gs offset into the percpu space.
Right that is what this patchset does.
> This project isn't interesting to me unless per-cpu variables are
> directly accessible off %gs.
Maybe I misunderstood but it seems that you proposed to convert individual members of the pda structure (which uses GS) to per cpu variables (which without this patchset cannot use GS).
--
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/