From: Yadi Hu <yadi.hu@windriver.com>
To: <yadi.hu@windriver.com>, <linux-rt-users@vger.kernel.org>
Subject: [PATCH 3.14.x-rt] ARM: enable irq in translation/section permission fault handlers
Date: Wed, 10 Dec 2014 10:32:08 +0800 [thread overview]
Message-ID: <1418178729-2279-1-git-send-email-yadi.hu@windriver.com> (raw)
[PATCH 3.14.x-rt] ARM: enable irq in translation/section permission fault handlers
_might_sleep() is used to check whether current context is atomic
in preempt-rt kernel. According to discussion on http://www.spinics.net/
lists/linux-rt-users/msg11398.html, this case is a bug in RT.
local_irq_save();
some_function();
rt_spin_lock() --> this calls __might_sleep
local_irq_restore();
----
arch/arm/mm/fault.c | 6 ++++++
1 file changed, 6 insertions(+)
next reply other threads:[~2014-12-10 2:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-10 2:32 Yadi Hu [this message]
2014-12-10 2:32 ` [PATCH 3.14.x-rt] ARM: enable irq in translation/section permission fault handlers Yadi Hu
2014-12-16 2:33 ` yhu2
2015-02-17 17:10 ` Sebastian Andrzej Siewior
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=1418178729-2279-1-git-send-email-yadi.hu@windriver.com \
--to=yadi.hu@windriver.com \
--cc=linux-rt-users@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).