diff options
author | Shaohua Li <shli@fb.com> | 2015-10-15 22:28:29 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-10-16 18:42:28 (GMT) |
commit | 424cdc14138088ada1b0e407a2195b2783c6e5ef (patch) | |
tree | 346cb6c621d85e998868d6f1d50be2b2bcd0982a /Documentation/devicetree/booting-without-of.txt | |
parent | 8d740a37b92f3d4a0435fe263b32efc7f61c5efb (diff) | |
download | linux-424cdc14138088ada1b0e407a2195b2783c6e5ef.tar.xz |
memcg: convert threshold to bytes
page_counter_memparse() returns pages for the threshold, while
mem_cgroup_usage() returns bytes for memory usage. Convert the
threshold to bytes.
Fixes: 3e32cb2e0a12b6915 ("memcg: rename cgroup_event to mem_cgroup_event").
Signed-off-by: Shaohua Li <shli@fb.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/devicetree/booting-without-of.txt')
0 files changed, 0 insertions, 0 deletions