On Sun, Oct 15, 2017 at 2:58 AM, Pavel Machek <pa...@ucw.cz> wrote: > > up is quite short and not-specific for global symbol. Rename to mutex_up?
Well, it is quite the traditional name in the OS community and in Linux it goes back to before the 1.0 release. We've got about 450 each of the up() and the down() (with varieties: down_interruptible/killable/trylock), so I guess it wouldn't be *too* painful to change them. The prefix wouldn't be "mutex_", though, these are the traditional old counting semaphores. Linus