LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Mackerras <paulus@samba.org>
To: David Wilder <dwilder@us.ibm.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [RFC-PATCH] Prevent tasks from sleeping in die()
Date: Thu, 11 May 2006 09:45:43 +1000	[thread overview]
Message-ID: <17506.31527.114193.218433@cargo.ozlabs.ibm.com> (raw)
In-Reply-To: <44628316.80600@us.ibm.com>

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.

      reply	other threads:[~2006-05-10 23:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-11  0:19 [RFC-PATCH] Prevent tasks from sleeping in die() David Wilder
2006-05-10 23:45 ` Paul Mackerras [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17506.31527.114193.218433@cargo.ozlabs.ibm.com \
    --to=paulus@samba.org \
    --cc=dwilder@us.ibm.com \
    --cc=linuxppc-dev@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox