diff options
author | 2020-04-01 21:11:15 -0700 | |
---|---|---|
committer | 2020-04-02 09:35:32 -0700 | |
commit | 1adc4d419aa282ed6d86f01935ce45d2215d8b8d (patch) | |
tree | 4f4be1cfb0e5c1e9c24ae0b1bca442e617d4226e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | hugetlb_cgroup: add hugetlb_cgroup reservation counter (diff) | |
download | linux-dev-1adc4d419aa282ed6d86f01935ce45d2215d8b8d.tar.xz linux-dev-1adc4d419aa282ed6d86f01935ce45d2215d8b8d.zip |
hugetlb_cgroup: add interface for charge/uncharge hugetlb reservations
Augments hugetlb_cgroup_charge_cgroup to be able to charge hugetlb usage
or hugetlb reservation counter.
Adds a new interface to uncharge a hugetlb_cgroup counter via
hugetlb_cgroup_uncharge_counter.
Integrates the counter with hugetlb_cgroup, via hugetlb_cgroup_init,
hugetlb_cgroup_have_usage, and hugetlb_cgroup_css_offline.
Signed-off-by: Mina Almasry <almasrymina@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Mike Kravetz <mike.kravetz@oracle.com>
Acked-by: David Rientjes <rientjes@google.com>
Cc: Greg Thelen <gthelen@google.com>
Cc: Sandipan Das <sandipan@linux.ibm.com>
Cc: Shakeel Butt <shakeelb@google.com>
Cc: Shuah Khan <shuah@kernel.org>
Link: http://lkml.kernel.org/r/20200211213128.73302-2-almasrymina@google.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions