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
    Eric W. Biederman wrote:
    >
    > But we can pick an arbitrary point where %gs points at.
    >
    > Hmm. This whole thing is even sillier then I thought.
    > Why can't we access per cpu vars as:
    > %gs:(per_cpu__var - __per_cpu_start) ?
    >
    > If we can subtract constants and allow the linker to perform that resolution
    > at link. A zero based per cpu segment becomes a moot issue.
    >

    And then we're back here again!

    Supposedly the linker buggers up, although we don't have conclusive
    evidence...

    -hpa



    \
     
     \ /
      Last update: 2008-07-09 23:25    [W:3.424 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site