public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* might_sleep() called in die()
@ 2006-05-09 21:28 David Wilder
  0 siblings, 0 replies; only message in thread
From: David Wilder @ 2006-05-09 21:28 UTC (permalink / raw)
  To: linuxppc-dev

Paul-
Can you advise me?   In the die() function might_sleep() is called while 
holding the die_lock (see call flow below).
 If voluntary preemption is set this can cause a deadlock when multiple 
Oops occur.  I am seeing this problem when issuing a soft-reset as all 
cups call die() at roughly the same time.

die() 
->>show_regs()->>show_instructions()->>__get_user_nocheck()->>might_sleep()

My question is basically should die() ever call might_sleep()? If so why?
 I currently working around the problem by calling clear_need_resched() 
at the top of die().

-- 
David Wilder
IBM Linux Technology Center
Beaverton, Oregon, USA 
dwilder@us•ibm.com
(503)578-3789

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-05-09 20:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-09 21:28 might_sleep() called in die() David Wilder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox