Re: [PATCH] percpu,lockdep: implement and use is_static_percpu_address()

From: Tejun Heo
Date: Tue Mar 09 2010 - 06:47:05 EST


Hello,

On 03/09/2010 08:42 PM, Tejun Heo wrote:
>> So is_module_address() will only return true for static per-cpu module
>> storage, right?
>
> Right, got confused there. I'll update is_static_percpu_address() to
> test for reserved regions too.

Which I can't in straight forward manner because only the module code
knows the allocated address ranges on archs which don't require low
offset addresses for module static percpu symbols. Seems like we'll
need to create is_module_percpu_address() or something. I'll think
about it.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/