rename locking functions
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | rename locking functions - do the renameinclude/ include/ include/ +20 more | +598 | 2 replies | |
| 2/7 | rename locking functions - convert sema_init usersarch/ arch/ arch/ +52 more | +85 | 2 replies | |
| 3/7 | rename locking functions - convert init_MUTEX* users, part 1Documentation/ arch/ arch/ +75 more | +106 | 0 replies | |
| 4/7 | rename locking functions - convert init_MUTEX* users, part 2drivers/ drivers/ drivers/ +85 more | +107 | 0 replies | |
| 5/7 | rename locking functions - convert init_MUTEX* users, part 3drivers/ drivers/ drivers/ +80 more | +113 | 0 replies | |
| 6/7 | rename locking functions - convert init_MUTEX* users, part 4fs/ kernel/ mm/ +75 more | +116 | 0 replies | |
| 7/7 | rename locking functions - add entry to feature-removal-schedule.txtDocumentation/ | +9 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] rename locking functions
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