[PATCH 2/4] hugetlbfs: coordinate global and subpool reserve accounting

2015-03-03 Thread Mike Kravetz
If the pages for a subpool are reserved, then the reservations have already been accounted for in the global pool(at mount time). Therefore, when requesting a new reservation (such as for a mapping) do not adjust the global reserve count. Also, when simply unreserving pages for the subpool do not

[PATCH 2/4] hugetlbfs: coordinate global and subpool reserve accounting

2015-03-03 Thread Mike Kravetz
If the pages for a subpool are reserved, then the reservations have already been accounted for in the global pool(at mount time). Therefore, when requesting a new reservation (such as for a mapping) do not adjust the global reserve count. Also, when simply unreserving pages for the subpool do not