[PATCH 02/10] threadgroup: rename signal->threadgroup_fork_lock to ->group_rwsem
KAMEZAWA Hiroyuki
kamezawa.hiroyu at jp.fujitsu.com
Fri Nov 4 08:40:32 UTC 2011
On Tue, 1 Nov 2011 16:46:25 -0700
Tejun Heo <tj at kernel.org> wrote:
> Make the following renames to prepare for extension of threadgroup
> locking.
>
> * s/signal->threadgroup_fork_lock/signal->group_rwsem/
> * s/threadgroup_fork_read_lock()/threadgroup_change_begin()/
> * s/threadgroup_fork_read_unlock()/threadgroup_change_done()/
I personally like begin <-> end to see relationship.
> * s/threadgroup_fork_write_lock()/threadgroup_lock()/
> * s/threadgroup_fork_write_unlock()/threadgroup_unlock()/
>
> This patch doesn't cause any behavior change.
>
> Signed-off-by: Tejun Heo <tj at kernel.org>
> Cc: Oleg Nesterov <oleg at redhat.com>
> Cc: Andrew Morton <akpm at linux-foundation.org>
> Cc: Paul Menage <paul at paulmenage.org>
> Cc: Li Zefan <lizf at cn.fujitsu.com>
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>
More information about the Containers
mailing list