From: ming.lei@canonical.com (Ming Lei)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm: fix lockdep warning of "unannotated irqs-off"
Date: Thu, 2 Jun 2011 09:32:51 +0800 [thread overview]
Message-ID: <20110602093251.0001a4cd@tom-ThinkPad-T410> (raw)
In-Reply-To: <20110601160144.GN3660@n2100.arm.linux.org.uk>
Hi Russell,
Thanks for your detailed explain.
On Wed, 1 Jun 2011 17:01:44 +0100
Russell King - ARM Linux <linux@arm.linux.org.uk> wrote:
> So, the way things are setup at the moment on ARM, we "optimize" the
> overhead of telling lockdep that IRQs are enabled while userspace is
> running away _provided_ we are not doing IRQs-off latency tracing.
> IOW, when CONFIG_IRQSOFF_TRACER is not set, we optimize away the
> trace_hardirq_on call when entering userspace, and the
> trace_hardirq_off call when leaving userspace.
Sorry, I did not notice this "optimization" before, and will
change the dependency and update the patch.
BTW, the patch also fixes for irq off tracer.
thanks,
--
Ming Lei
prev parent reply other threads:[~2011-06-02 1:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-01 7:42 [PATCH] arm: fix lockdep warning of "unannotated irqs-off" Ming Lei
2011-06-01 9:34 ` Russell King - ARM Linux
2011-06-01 13:17 ` Ming Lei
2011-06-01 13:22 ` Russell King - ARM Linux
2011-06-01 14:28 ` Ming Lei
2011-06-01 14:46 ` Russell King - ARM Linux
2011-06-01 15:52 ` Ming Lei
2011-06-01 16:01 ` Russell King - ARM Linux
2011-06-02 1:32 ` Ming Lei [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110602093251.0001a4cd@tom-ThinkPad-T410 \
--to=ming.lei@canonical.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox