diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2011-03-23 16:42:33 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-23 19:46:29 -0700 |
commit | e7018b8d27e0c9aa2200e5b393e0fe9093c6565c (patch) | |
tree | 13a4d92cd78bc6f97d9a2b6d77880c9ea5d67aa1 /fs/logfs | |
parent | bf1ff2635a5fda207fc870df348bfc766e8dcd4d (diff) |
memcg: keep only one charge cancelling function
We have two charge cancelling functions: one takes a page count, the other
a page size. The second one just divides the parameter by PAGE_SIZE and
then calls the first one. This is trivial, no need for an extra function.
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>
Diffstat (limited to 'fs/logfs')
0 files changed, 0 insertions, 0 deletions