Re: [RFC PATCH v2 1/5] hugetlb_cgroup: Add hugetlb_cgroup reservation counter

2019-08-15 Thread Mina Almasry
On Wed, Aug 14, 2019 at 8:54 PM Hillf Danton wrote: > > > On Thu, 8 Aug 2019 16:13:36 -0700 Mina Almasry wrote: > > > > These counters will track hugetlb reservations rather than hugetlb > > memory faulted in. This patch only adds the counter, following patches > > add the charging and uncharging

[RFC PATCH v2 1/5] hugetlb_cgroup: Add hugetlb_cgroup reservation counter

2019-08-08 Thread Mina Almasry
These counters will track hugetlb reservations rather than hugetlb memory faulted in. This patch only adds the counter, following patches add the charging and uncharging of the counter. --- include/linux/hugetlb.h | 2 +- mm/hugetlb_cgroup.c | 86 + 2 f