On Fri, 14 Feb 2020, Mike Kravetz wrote:
On 2/11/20 1:31 PM, Mina Almasry wrote:
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
Thanks for the suggested changes. It will make the code easier to read and understand.
Acked-by: Mike Kravetz <mike.kravetz@oracle.com
Agreed, thanks Mina!
Acked-by: David Rientjes rientjes@google.com