mm: memcontrol: inline memcg->move_lock locking
authorJohannes Weiner <hannes@cmpxchg.org>
Wed, 10 Dec 2014 23:44:05 +0000 (15:44 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Dec 2014 01:41:07 +0000 (17:41 -0800)
commit354a4783a2ee5ba1cb5a1442cca8ecd4c0ac6d66
tree14625d649328aaa9a568688d7f8c94689ce91bc0
parent2983331575bfb248abfb02efb5140b4a299e3f45
mm: memcontrol: inline memcg->move_lock locking

The wrappers around taking and dropping the memcg->move_lock spinlock add
nothing of value.  Inline the spinlock calls into the callsites.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Vladimir Davydov <vdavydov@parallels.com>
Acked-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memcontrol.c