lkml.org 
[lkml]   [2012]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[QUESTION] Can we remove the local_irq_enable() in function panic()?
Date
Hi all,

Could some one give help that removing the local_irq_enable() in function panic()?

Currently I meet one case that when panic happening at irq disabling state with spin_lock,
After panic() is called, due to local_irq_enable() is called, it causes some interrupts come,
and cause more issue that "BUG: spinlock recursion on CPU#0".


Checked the git history, do not find any hint for local_irq_enable(), can any share something?
Thanks.

Panic()
{
....
local_irq_enable();
for (i = 0; ; i += PANIC_TIMER_STEP) {
....
}





\
 
 \ /
  Last update: 2012-09-07 04:41    [W:0.030 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site