[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4C21E07E.40003@kernel.org>
Date: Wed, 23 Jun 2010 12:22:54 +0200
From: Tejun Heo <tj@...nel.org>
To: Lai Jiangshan <laijs@...fujitsu.com>
CC: "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
Ingo Molnar <mingo@...e.hu>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] percpu: add percpu_variable_ptr()
Hello,
On 06/23/2010 12:20 PM, Lai Jiangshan wrote:
>> Why not just use &name?
>
> I remember the real variable name is hidden.
> We can't expose the inner details of percpu, so I add a macro for it.
Yeah, the whole point was unifying static and dynamic ones into the
same name / address space. &name is now guaranteed to work, so no
need for indirection layer.
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists