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

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

    Thank you.


    2012/2/20 Cong Wang <xiyou.wangcong@gmail.com>:
    > 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.054 / U:0.180 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site