Re: [RFC 3/3] hugetlbfs: accept subpool reserved option and setup accordingly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/02/2015 03:10 PM, Andrew Morton wrote:
On Fri, 27 Feb 2015 14:58:13 -0800 Mike Kravetz <mike.kravetz@xxxxxxxxxx> wrote:

Make reserved be an option when mounting a hugetlbfs.

New mount option triggers a user documentation update.  hugetlbfs isn't
well documented, but Documentation/vm/hugetlbpage.txt looks like the
place.


Will do


reserved
option is only possible if size option is also specified.

The code doesn't appear to check for this (maybe it does).  Probably it
should do so, and warn when it fails.


It is hard to see from the diffs, but this case is covered.  If size is
not specified, it implies the size is "unlimited".  The code in the
patch actually makes the mount fail in this case.

--
Mike Kravetz

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]