Mike Kravetz 7ca02d0ae5 hugetlbfs: accept subpool min_size mount option and setup accordingly
Make 'min_size=<value>' be an option when mounting a hugetlbfs.  This
option takes the same value as the 'size' option.  min_size can be
specified without specifying size.  If both are specified, min_size must
be less that or equal to size else the mount will fail.  If min_size is
specified, then at mount time an attempt is made to reserve min_size
pages.  If the reservation fails, the mount fails.  At umount time, the
reserved pages are released.

Signed-off-by: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Cc: Aneesh Kumar <aneesh.kumar@linux.vnet.ibm.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-04-15 16:35:18 -07:00
..
2015-04-14 16:49:00 -07:00
2015-04-14 16:49:00 -07:00
2015-02-16 17:56:03 -08:00
2015-04-14 16:49:00 -07:00
2015-02-16 17:56:03 -08:00
2015-04-14 16:49:06 -07:00
2015-04-15 16:35:16 -07:00
2015-02-11 17:06:02 -08:00
2015-04-06 17:50:59 -04:00
2015-03-12 18:46:08 -07:00
2015-04-15 16:35:16 -07:00
2015-04-14 16:49:04 -07:00
2015-03-25 20:28:11 -04:00
2015-03-24 13:41:54 -04:00
2015-04-11 22:24:41 -04:00
2015-04-14 16:49:03 -07:00
2015-02-13 21:21:35 -08:00
2015-02-12 18:54:12 -08:00