]> git.baikalelectronics.ru Git - kernel.git/commit
cls_cgroup: remove unneeded cgroup_lock
authorLi Zefan <lizf@cn.fujitsu.com>
Tue, 12 May 2009 10:47:33 +0000 (10:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 May 2009 18:59:48 +0000 (11:59 -0700)
commit46a87e4d6c92db7c298635372647a953bfed6f25
tree930bdf761d1dfa6a6ef4732866378f3fb37ad5bd
parent8f711e651811353859d45c4f36309e46625752a9
cls_cgroup: remove unneeded cgroup_lock

We can remove this lock here, since we are in cgroup write handler and
thus the cgrp is guaranteed to be valid, and no lock is needed when
writing a u32 variable.

Signed-off-by: Li Zefan <lizf@cn.fujitsuc.com>
Acked-by: Paul Menage <menage@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_cgroup.c