linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 3.14.x-rt] ARM: enable irq in translation/section permission fault handlers
@ 2014-12-10  2:32 Yadi Hu
  2014-12-10  2:32 ` Yadi Hu
  0 siblings, 1 reply; 4+ messages in thread
From: Yadi Hu @ 2014-12-10  2:32 UTC (permalink / raw)
  To: yadi.hu, linux-rt-users

[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(+)


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-02-17 17:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-10  2:32 [PATCH 3.14.x-rt] ARM: enable irq in translation/section permission fault handlers Yadi Hu
2014-12-10  2:32 ` Yadi Hu
2014-12-16  2:33   ` yhu2
2015-02-17 17:10   ` Sebastian Andrzej Siewior

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).