[RFC-PATCH] Prevent tasks from sleeping in die()
    Paul Mackerras 
    paulus at samba.org
       
    Thu May 11 09:45:43 EST 2006
    
    
  
David Wilder writes:
> I am seeing an issue in die() when voluntary preemption is enabled.
> die() 
> ->>show_regs()->>show_instructions()->>__get_user_nocheck()->>might_sleep()
Are you using Linus' current git tree?  It has a patch that fixes this
problem by making __get_user_nocheck do the might_sleep only if the
address you give it is a user address.
Paul.
    
    
More information about the Linuxppc-dev
mailing list