public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul Mackerras <paulus@samba.org>
To: Andrew Morton <akpm@osdl.org>
Cc: Matthew Grant <grantma@anathoth.gen.nz>,
	dwmw2@infradead.org, linux-kernel@vger.kernel.org
Subject: Re: PROBLEM:  rt_sigsuspend() does not return EINTR on 2.6.16-rc2+
Date: Mon, 6 Mar 2006 22:25:24 +1100	[thread overview]
Message-ID: <17420.7204.375377.273773@cargo.ozlabs.ibm.com> (raw)
In-Reply-To: <20060306024512.4594b58d.akpm@osdl.org>

Andrew Morton writes:

> Matthew Grant <grantma@anathoth.gen.nz> wrote:
> >
> > OK, a major piece of software is broken for mounting removable media. A
> >  kernel upgrade from 2.6.15 SHOULDn't do that.  
> 
> Yes, this is a serious problem and we need to get to the bottom of it.

I have been looking at the equivalent code on powerpc.  This looks to
me like we aren't calling do_signal on the way back out of the system
call to userspace on x86 when the _TIF_RESTORE_SIGMASK thread_info
flag is set.  I had a look at the code in arch/i386/kernel and I can't
see why we wouldn't be getting to do_signal, but x86 assembly is not
my strong point.

The fact that userspace is seeing the -ERESTARTNOHAND return value
from the rt_sigsuspend strongly suggests that we aren't actually
calling do_signal, though.

Paul.


  reply	other threads:[~2006-03-06 11:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-05  1:26 PROBLEM: rt_sigsuspend() does not return EINTR on 2.6.16-rc2+ Matthew Grant
2006-03-05 11:24 ` David Woodhouse
2006-03-06  8:28   ` Matthew Grant
2006-03-06 10:45     ` Andrew Morton
2006-03-06 11:25       ` Paul Mackerras [this message]
2006-03-06 11:30         ` David Woodhouse
2006-03-06 11:31     ` David Woodhouse

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=17420.7204.375377.273773@cargo.ozlabs.ibm.com \
    --to=paulus@samba.org \
    --cc=akpm@osdl.org \
    --cc=dwmw2@infradead.org \
    --cc=grantma@anathoth.gen.nz \
    --cc=linux-kernel@vger.kernel.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