memcg: remove memcg->reclaim_param_lock
authorJohannes Weiner <hannes@cmpxchg.org>
Wed, 23 Mar 2011 23:42:32 +0000 (16:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Mar 2011 02:46:29 +0000 (19:46 -0700)
commitbf1ff2635a5fda207fc870df348bfc766e8dcd4d
treed4085b3bdbe608f6c8f708cb93080051b341d7fe
parent4dc03de1b29901b61cb27e4cab44a7f578dc0fc9
memcg: remove memcg->reclaim_param_lock

The reclaim_param_lock is only taken around single reads and writes to
integer variables and is thus superfluous.  Drop it.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
Cc: Balbir Singh <balbir@linux.vnet.ibm.com>
Reviewed-by: Minchan Kim <minchan.kim@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memcontrol.c