From: Matthew Wilcox <matthew@wil.cx>
To: Roland Dreier <rdreier@cisco.com>
Cc: Linus Torvalds <torvalds@osdl.org>,
linux-kernel@vger.kernel.org, David Howells <dhowells@redhat.com>
Subject: Re: Pull request for semaphore include changes
Date: Wed, 23 Apr 2008 10:03:49 -0600 [thread overview]
Message-ID: <20080423160348.GA29796@parisc-linux.org> (raw)
In-Reply-To: <adawsmobm3f.fsf@cisco.com>
On Wed, Apr 23, 2008 at 08:57:24AM -0700, Roland Dreier wrote:
> > drivers/infiniband/core/user_mad.c | 2 +-
>
> Let me say up front I have no problem with this change, which moved from
> <asm/semaphore.h> to <linux/semaphore.h>. So take this email as an
> honest question and not any form of complaint or criticism. But looking
> at that user_mad.c file in particular, I don't see any use of anything
> that looks like it would come from semaphore.h.
You've missed this hunk:
if (filp->f_flags & O_NONBLOCK) {
if (down_trylock(&port->sm_sem)) {
ret = -EAGAIN;
goto fail;
}
} else {
if (down_interruptible(&port->sm_sem)) {
ret = -ERESTARTSYS;
goto fail;
}
}
which is still in Linus' tree as of last night.
--
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
next prev parent reply other threads:[~2008-04-23 16:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-19 18:40 Pull request for semaphore include changes Matthew Wilcox
2008-04-23 7:18 ` Geert Uytterhoeven
2008-04-23 11:13 ` Matthew Wilcox
2008-04-23 15:57 ` Roland Dreier
2008-04-23 16:03 ` Matthew Wilcox [this message]
2008-04-23 16:06 ` Roland Dreier
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=20080423160348.GA29796@parisc-linux.org \
--to=matthew@wil.cx \
--cc=dhowells@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rdreier@cisco.com \
--cc=torvalds@osdl.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