[lkml]   [2012]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: A problem with percpu variable cpu_number
    Hi Cong Wang:

    I read the file in arch/x86/kernel
    section .data..percpu is between and .init.end
    Is that means these percpu variables will be freed after init?

    Thank you.

    2012/2/20 Cong Wang <>:
    > On 02/20/2012 07:04 PM, Tao Jiang wrote:
    >> I read the macor DEFINE_PER_CPU
    >> it's decorated by some percpu attributes
    >> it will be put in section .data..percpu in init section
    > .data..percpu is not .init section, the .init sections should all have
    > ".init.*" names.

     \ /
      Last update: 2012-02-21 13:43    [W:0.019 / U:68.316 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site