Messages in this thread |  | | | Date | Tue, 21 Feb 2012 22:29:11 +0800 | | From | Cong Wang <> | | Subject | Re: A problem with percpu variable cpu_number |
| |
On 02/21/2012 08:41 PM, Tao Jiang wrote: > 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?
% grep -e __init_begin -e __init_end -e __per_cpu_start -e __per_cpu_end /boot/System.map 0000000000000000 D __per_cpu_start 0000000000014bc0 D __per_cpu_end ffffffff81cf3000 D __init_begin ffffffff81dfc000 R __init_end % objdump -d -j .data..percpu vmlinux | grep cpu_number 000000000000dc38 <cpu_number>:
|  |