]> git.baikalelectronics.ru Git - kernel.git/commit
memcg: remove pcp_counter_lock
authorGreg Thelen <gthelen@google.com>
Thu, 1 Oct 2015 22:37:13 +0000 (15:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 2 Oct 2015 01:42:35 +0000 (21:42 -0400)
commit24606c70780dc80bb32843f93b8e6bd9799edb38
tree0763e369e1af60e90021edb2852da05d821f1442
parent64f839999cd722dd9aecbe33c69fc2b0feb82023
memcg: remove pcp_counter_lock

Commit 015ba693afbc ("memcg: make mem_cgroup_read_{stat|event}() iterate
possible cpus instead of online") removed the last use of the per memcg
pcp_counter_lock but forgot to remove the variable.

Kill the vestigial variable.

Signed-off-by: Greg Thelen <gthelen@google.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/memcontrol.h
mm/memcontrol.c