Re: [RFC 1/3] hugetlbfs: add reserved mount fields to subpool structure

2015-03-02 Thread Mike Kravetz
On 03/02/2015 03:10 PM, Andrew Morton wrote: On Fri, 27 Feb 2015 14:58:10 -0800 Mike Kravetz wrote: Add a boolean to the subpool structure to indicate that the pages for subpool have been reserved. The hstate pointer in the subpool is convienient to have when it comes time to unreserve the pa

Re: [RFC 1/3] hugetlbfs: add reserved mount fields to subpool structure

2015-03-02 Thread Andrew Morton
On Fri, 27 Feb 2015 14:58:10 -0800 Mike Kravetz wrote: > Add a boolean to the subpool structure to indicate that the pages for > subpool have been reserved. The hstate pointer in the subpool is > convienient to have when it comes time to unreserve the pages. > subool_reserved() is a handy way to

[RFC 1/3] hugetlbfs: add reserved mount fields to subpool structure

2015-02-27 Thread Mike Kravetz
Add a boolean to the subpool structure to indicate that the pages for subpool have been reserved. The hstate pointer in the subpool is convenient to have when it comes time to unreserve the pages. subool_reserved() is a handy way to check if reserved and take into account a NULL subpool. Signed-o

[RFC 1/3] hugetlbfs: add reserved mount fields to subpool structure

2015-02-27 Thread Mike Kravetz
Add a boolean to the subpool structure to indicate that the pages for subpool have been reserved. The hstate pointer in the subpool is convienient to have when it comes time to unreserve the pages. subool_reserved() is a handy way to check if reserved and take into account a NULL subpool. Signed-