lkml.org 
[lkml]   [2017]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [git pull] vfs.git regression fix Re: Regression related to ipc shmctl compat
On Sun, Oct 15, 2017 at 2:58 AM, Pavel Machek <pavel@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

\
 
 \ /
  Last update: 2017-10-16 13:42    [W:0.121 / U:24.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site