[RFC PATCH] ARM: keep __my_cpu_offset consistent with generic one

Ming Lei tom.leiming at gmail.com
Wed Mar 6 23:00:14 EST 2013


Hi,

On Thu, Mar 7, 2013 at 11:44 AM, Will Deacon <will.deacon at arm.com> wrote:
>
> For the record, can you include a backtrace or something please? The

lock_release_holdtime() will access percpu variable, so every lock
release may trigger the hang if CONFIG_LOCK_STAT is enabled,
and there are many lock acquire/release before setup_arch.

No detailed backtrace since only early_printk can work at that time.

> description makes it sounds like a caller bug, so it would be good to
> document a valid user of per-cpu before cpu_init().

OK, I will add the document: lockdep will use percpu variable
before cpu_init() called inside setup_arch().

Thanks,
-- 
Ming Lei



More information about the linux-arm-kernel mailing list