mm/memcontrol: make mem_cgroup_inactive_anon_is_low() return bool
authorYaowei Bai <bywxiaobai@163.com>
Fri, 6 Nov 2015 02:47:40 +0000 (18:47 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Nov 2015 03:34:48 +0000 (19:34 -0800)
commit13308ca9ef9acb325b52bd8562639b5844f3cbf2
tree08a0766703483b9da72f4d7119130c32d60fcfd4
parent42e2e45777a8c2ec32b6a3c3d81a7d454f6afb6d
mm/memcontrol: make mem_cgroup_inactive_anon_is_low() return bool

Make mem_cgroup_inactive_anon_is_low return bool due to this particular
function only using either one or zero as its return value.

No functional change.

Signed-off-by: Yaowei Bai <bywxiaobai@163.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/memcontrol.h