lkml.org 
[lkml]   [2010]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2010-06-23 12:25    [W:0.049 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site