Messages in this thread | | | Date | Fri, 4 Nov 2011 17:40:32 +0900 | From | KAMEZAWA Hiroyuki <> | Subject | Re: [PATCH 02/10] threadgroup: rename signal->threadgroup_fork_lock to ->group_rwsem |
| |
On Tue, 1 Nov 2011 16:46:25 -0700 Tejun Heo <tj@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@kernel.org> > Cc: Oleg Nesterov <oleg@redhat.com> > Cc: Andrew Morton <akpm@linux-foundation.org> > Cc: Paul Menage <paul@paulmenage.org> > Cc: Li Zefan <lizf@cn.fujitsu.com>
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
| |