From: Ingo Molnar <mingo@elte.hu>
To: Jean Delvare <khali@linux-fr.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH] Clean up mutex_trylock noise
Date: Sun, 15 Apr 2007 15:05:21 +0200 [thread overview]
Message-ID: <20070415130521.GB4312@elte.hu> (raw)
In-Reply-To: <20070415125444.4f06f233@hyperion.delvare>
* Jean Delvare <khali@linux-fr.org> wrote:
> Ingo Molnar's semaphore to mutex conversions left some noise on a few
> trylock calls. Clean it up.
>
> Signed-off-by: Jean Delvare <khali@linux-fr.org>
> - if (!!mutex_trylock(&zr->resource_lock)) {
> + if (mutex_trylock(&zr->resource_lock)) {
> - if (!!mutex_trylock(&mtd_table_mutex)) {
> + if (mutex_trylock(&mtd_table_mutex)) {
> - if (!!mutex_trylock(&mtd_table_mutex)) {
> + if (mutex_trylock(&mtd_table_mutex)) {
thanks! That's one of the side-effects of scripted conversions :-/
Acked-by: Ingo Molnar <mingo@elte.hu>
Ingo
prev parent reply other threads:[~2007-04-15 13:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-15 10:54 Jean Delvare
2007-04-15 13:05 ` Ingo Molnar [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=20070415130521.GB4312@elte.hu \
--to=mingo@elte.hu \
--cc=akpm@linux-foundation.org \
--cc=khali@linux-fr.org \
--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
all inboxes | Powered by JetHome®