From: Peter Zijlstra <peterz@infradead.org>
To: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Linus Torvalds <torvalds@linux-foundation.org>,
Matthew Wilcox <willy@linux.intel.com>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Rename DECLARE_MUTEX to DEFINE_SEMAPHORE
Date: Sun, 26 Oct 2008 14:39:06 +0100 [thread overview]
Message-ID: <1225028346.32713.11.camel@twins> (raw)
In-Reply-To: <20081026120609.GA10728@joi>
On Sun, 2008-10-26 at 13:06 +0100, Marcin Slusarz wrote:
> DECLARE_MUTEX is doubly misleading name (it actually _defines_ struct
> _semaphore_ initialized to 1) and it can be confused with DEFINE_MUTEX
> (which defines real struct mutex). Rename it.
I'd prefer DEFINE_BINARY_SEM or somesuch
next prev parent reply other threads:[~2008-10-26 13:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-26 12:06 [PATCH] Rename DECLARE_MUTEX to DEFINE_SEMAPHORE Marcin Slusarz
2008-10-26 13:39 ` Peter Zijlstra [this message]
2008-10-26 14:11 ` Leon Woestenberg
2008-10-26 14:41 ` Peter Zijlstra
2008-10-26 15:20 ` Leon Woestenberg
2008-10-26 15:23 ` Marcin Slusarz
2008-10-26 16:41 ` Christoph Hellwig
2008-10-29 21:16 ` Marcin Slusarz
2008-10-29 21:22 ` Christoph Hellwig
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=1225028346.32713.11.camel@twins \
--to=peterz@infradead.org \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcin.slusarz@gmail.com \
--cc=torvalds@linux-foundation.org \
--cc=willy@linux.intel.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.