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-11 22:24:41 -04:00
2015-03-25 20:28:11 -04:00
2015-04-11 22:24:41 -04:00
2015-04-11 22:24:41 -04:00
2015-02-16 17:56:03 -08:00
2015-03-25 20:28:11 -04:00
2015-03-25 20:28:11 -04:00
2015-04-11 22:24:41 -04:00
2015-03-25 20:28:11 -04:00
2015-03-25 20:28:11 -04:00
2015-04-11 22:24:41 -04:00
2015-04-14 16:09:18 -07:00
2015-03-25 20:28:11 -04:00
2014-08-07 14:40:09 -04:00
2015-04-14 16:04:26 -07:00
2015-04-11 22:24:41 -04:00
2015-04-11 22:24:41 -04:00
2015-03-18 10:29:48 +01:00
2015-03-25 20:28:11 -04:00
2015-03-25 20:28:11 -04:00
2015-04-11 22:24:41 -04:00
2014-11-19 13:01:20 -05:00
2015-03-25 20:28:11 -04:00
2015-03-06 23:10:29 +01:00
2015-02-16 17:56:04 -08:00
2015-03-25 20:28:11 -04:00
2015-03-25 20:28:11 -04:00
2014-08-26 09:35:56 +02:00
2014-11-19 13:01:26 -05:00