From: Cong Wang <xiyou.wangcong@gmail.com>
To: Tao Jiang <jiangtao.jit@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: A problem with percpu variable cpu_number
Date: Tue, 21 Feb 2012 22:29:11 +0800 [thread overview]
Message-ID: <4F43AA37.5050004@gmail.com> (raw)
In-Reply-To: <CAOe6JY1_dYGCK2=+EHARz5mTm=KCgWynnJjA9SuEHfj+Z0xjwA@mail.gmail.com>
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>:
next prev parent reply other threads:[~2012-02-21 14:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAOe6JY2fQ7UcnVprer9tXPxz0FDEv5h1j6txP576-EKXc9v5PA@mail.gmail.com>
2012-02-19 12:20 ` A problem with percpu variable cpu_number Tao Jiang
2012-02-19 15:21 ` Cong Wang
2012-02-20 11:04 ` Tao Jiang
2012-02-20 15:11 ` Cong Wang
2012-02-21 12:41 ` Tao Jiang
2012-02-21 14:29 ` Cong Wang [this message]
2012-02-21 17:58 ` Brian Gerst
2012-02-22 11:13 ` Tao Jiang
2012-02-22 13:21 ` Hillf Danton
2012-02-23 14:29 ` Tao Jiang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F43AA37.5050004@gmail.com \
--to=xiyou.wangcong@gmail.com \
--cc=jiangtao.jit@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox