lkml.org 
[lkml]   [2009]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: linux-next: percpu tree build warning
    Date
    On Thu, 26 Nov 2009 12:10:58 am Ingo Molnar wrote:
    > While a percpu variable is defined and used in completely different
    > ways:
    >
    > DEFINE_PER_CPU(unsigned long, dr7);
    >
    > and is used via:
    >
    > __get_cpu_var(dr7); [[Fixed -- RR]]

    The entire point of Tejun's per-cpu work is that &dr7 is now valid. A per-cpu
    pointer as if it were allocated by the dynamic per-cpu allocator.

    Your arguments are fine, but out-of-date.

    Rusty.


    \
     
     \ /
      Last update: 2009-11-26 23:23    [W:4.728 / U:0.280 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site