lkml.org 
[lkml]   [2008]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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).



\
 
 \ /
  Last update: 2008-07-09 20:37    [from the cache]
©2003-2011 Jasper Spaans