* [PATCH 0/7] rename locking functions
@ 2005-08-18 0:15 Jesper Juhl
0 siblings, 0 replies; only message in thread
From: Jesper Juhl @ 2005-08-18 0:15 UTC (permalink / raw)
To: linux-kernel; +Cc: Andrew Morton, jesper.juhl
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-08-18 0:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-18 0:15 [PATCH 0/7] rename locking functions Jesper Juhl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox