[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150209092332.GO5029@twins.programming.kicks-ass.net>
Date: Mon, 9 Feb 2015 10:23:32 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Peter Ujfalusi <peter.ujfalusi@...com>
Cc: Tony Lindgren <tony@...mide.com>, paul@...an.com,
linux-omap@...r.kernel.org, mingo@...hat.com,
linux-kernel@...r.kernel.org, balbi@...com,
linux-arm-kernel@...ts.infradead.org, Tero Kristo <t-kristo@...com>
Subject: Re: [PATCH 0/2] ARM: omap2+: omap_hwmod: Fix false lockdep warning
On Mon, Feb 09, 2015 at 10:27:32AM +0200, Peter Ujfalusi wrote:
> As I recall there is a plan to remove the hwmod static database and move it or
> generate it from DT? Not sure when and how this will be done, but will it
> affect the lockdep_set_class() way?
Yes, struct lock_class_key wants to be in static storage.
So you could still allocate a few of those statically and then use them
where appropriate, but it'd going to be more work.
The advantage of having the 1:1 relation is that any parent hierarchy
works naturally.
--
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