From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: ERESTART* seen by userland
Date: Tue, 20 Jan 2009 03:22:58 +0000 [thread overview]
Message-ID: <20090120032258.GD12965@linux-sh.org> (raw)
In-Reply-To: <20090117.084015.142054869.kkojima@rr.iij4u.or.jp>
On Sat, Jan 17, 2009 at 08:40:15AM +0900, Kaz Kojima wrote:
> Hi,
>
> It seems that some syscalls return with ERESTART* errno when
> they should return EINTR in the recent SH kernels.
> Has anybody experienced this?
>
I haven't hit this personally, but the only logical explanation I can
think of for this is the T-bit setting in the syscall restart code. I
suppose I will have to find another bit to use. Can you confirm if
getting rid of regs->sr T-bit manipulation makes this go away?
next prev parent reply other threads:[~2009-01-20 3:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-16 23:40 ERESTART* seen by userland Kaz Kojima
2009-01-20 3:22 ` Paul Mundt [this message]
2009-01-20 4:43 ` Kaz Kojima
2009-01-27 7:27 ` Paul Mundt
2009-01-30 23:40 ` Kaz Kojima
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=20090120032258.GD12965@linux-sh.org \
--to=lethal@linux-sh.org \
--cc=linux-sh@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