From: Jesper Juhl <jesper.juhl@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: Andrew Morton <akpm@osdl.org>, jesper.juhl@gmail.com
Subject: [PATCH 0/7] rename locking functions
Date: Thu, 18 Aug 2005 02:15:07 +0200 [thread overview]
Message-ID: <200508180215.08100.jesper.juhl@gmail.com> (raw)
Consider the naming of these functions :
sema_init()
init_MUTEX()
init_MUTEX_LOCKED()
init_rwsem()
They are not named very consistent, the naming is confusing and ugly with
the mix of case and some are named init_* and some *_init.
I propose to clean that up by renaming the functions so they end up as :
init_sema()
init_mutex()
init_mutex_locked()
init_rwsem()
Since these are very widely used functions a transition period is needed, so
the patches I'm posting create wrapper functions with the old names for
people to use until they get their code updated.
The patches also change all in-kernel code calling these functions to use the
new names.
I'm only able to test on i386, so please look carefully at these changes. I'm
currently running a kernel with the patches applied and everything seems fine.
--
Jesper Juhl
reply other threads:[~2005-08-18 0:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200508180215.08100.jesper.juhl@gmail.com \
--to=jesper.juhl@gmail.com \
--cc=akpm@osdl.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