Messages in this thread | | | Date | Wed, 09 Jul 2008 13:34:16 -0500 | From | Christoph Lameter <> | Subject | Re: [RFC 00/15] x86_64: Optimize percpu accesses |
| |
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).
| |