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

From: Andrew Morton
Date: Mon Mar 02 2015 - 18:10:41 EST


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.


> 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.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/