lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <27240C0AC20F114CBF8149A2696CBE4A17939B@SHSMSX101.ccr.corp.intel.com>
Date:	Fri, 7 Sep 2012 02:19:12 +0000
From:	"Liu, Chuansheng" <chuansheng.liu@...el.com>
To:	"'linux-kernel@...r.kernel.org' (linux-kernel@...r.kernel.org)" 
	<linux-kernel@...r.kernel.org>
CC:	"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
	"mingo@...e.hu" <mingo@...e.hu>,
	"a.p.zijlstra@...llo.nl" <a.p.zijlstra@...llo.nl>
Subject: [QUESTION] Can we remove the local_irq_enable() in function panic()?

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



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

Powered by Openwall GNU/*/Linux Powered by OpenVZ