memcg: convert uncharge batching from bytes to page granularity
authorJohannes Weiner <hannes@cmpxchg.org>
Wed, 23 Mar 2011 23:42:35 +0000 (16:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Mar 2011 02:46:30 +0000 (19:46 -0700)
commit7ffd4ca7a2cdd7a18f0b499a4e9e0e7cf36ba018
tree1a2678ce91b9dfb2118d19e0ec457ca5582793f9
parent11c9ea4e80fc3be83485667204c68d0a732f3757
memcg: convert uncharge batching from bytes to page granularity

We never uncharge subpage quantities.

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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/sched.h
mm/memcontrol.c