From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <17506.31527.114193.218433@cargo.ozlabs.ibm.com> Date: Thu, 11 May 2006 09:45:43 +1000 From: Paul Mackerras To: David Wilder Subject: Re: [RFC-PATCH] Prevent tasks from sleeping in die() In-Reply-To: <44628316.80600@us.ibm.com> References: <44628316.80600@us.ibm.com> Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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.