linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* lockdep and oops_in_progress
@ 2010-08-05  6:21 Dave Airlie
  2010-08-05  8:10 ` Peter Zijlstra
  0 siblings, 1 reply; 7+ messages in thread
From: Dave Airlie @ 2010-08-05  6:21 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Jesse Barnes; +Cc: LKML

Hi guys,

I was debugging a wierd issue with suspend/resume and fbcon/X with
some recent work Jesse and myself did to try and make sure a pinned
fbcon always gets the text on it with a panic or oops occurs.

It does this by testing the oops_in_progress flag, however once any
lockdep issue occurs it looks to me that we leave this flag set
forever, in most places I can see in oops code etc they call
bust_spinlocks(1) then bust_spinlocks(0) to balance the
oops_in_progress value, but lockdep never seems to reset it.

I'm wondering if there is an inherent reason for this or if I whip up
a patch to reset once the lockdep is printed if this would cause any
issues?

Dave.

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

end of thread, other threads:[~2010-11-02 20:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-05  6:21 lockdep and oops_in_progress Dave Airlie
2010-08-05  8:10 ` Peter Zijlstra
2010-08-05 14:59   ` Yong Zhang
2010-09-23  3:57     ` Dave Airlie
2010-11-02 20:51     ` Dave Airlie
2010-11-02 20:53       ` David Miller
2010-11-02 20:54       ` David Miller

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