diff options
author | Kirill A. Shutemov <kirill@shutemov.name> | 2010-05-26 21:42:47 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-27 16:12:44 (GMT) |
commit | 2c488db27b614816024e7994117f599337de0f34 (patch) | |
tree | 1ccfe14f5b2bede321004427babdad111a3b0c8e /kernel | |
parent | 907860ed381a31b0102f362df67c1c5cae6ef050 (diff) | |
download | linux-fsl-qoriq-2c488db27b614816024e7994117f599337de0f34.tar.xz |
memcg: clean up memory thresholds
Introduce struct mem_cgroup_thresholds. It helps to reduce number of
checks of thresholds type (memory or mem+swap).
[akpm@linux-foundation.org: repair comment]
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Phil Carmody <ext-phil.2.carmody@nokia.com>
Cc: Balbir Singh <balbir@linux.vnet.ibm.com>
Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: Paul Menage <menage@google.com>
Cc: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions