Messages in this thread | | | Subject | Re: [PATCH 2/2] percpu,module: implement and use is_kernel/module_percpu_address() | From | Peter Zijlstra <> | Date | Wed, 10 Mar 2010 11:42:27 +0100 |
| |
On Wed, 2010-03-10 at 18:57 +0900, Tejun Heo wrote: > lockdep has custom code to check whether a pointer belongs to static > percpu area which is somewhat broken. Implement proper > is_kernel/module_percpu_address() and replace the custom code. > > On UP, percpu variables are regular static variables and can't be > distinguished from them. Always return %false on UP. > > Signed-off-by: Tejun Heo <tj@kernel.org> > Cc: Rusty Russell <rusty@rustcorp.com.au> > Cc: Ingo Molnar <mingo@redhat.com> > Cc: Peter Zijlstra <peterz@infradead.org>
Looks good to me, thanks Tejun!
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
| |