]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commitcb1c4b71f6da18fa98bab4af055f391d01bee8ba
tree930bdf761d1dfa6a6ef4732866378f3fb37ad5bd
parent3a6d54c56326c29c5357655779cfe6cf36481b17
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