commit | c4f3eb5fc527b749d6fb0d47ffdcfe83706dbe2f | [log] [tgz] |
---|---|---|
author | James Yang <James.Yang@freescale.com> | Fri Nov 14 12:32:24 2014 -0600 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Tue Dec 02 14:10:09 2014 +1100 |
tree | c8ff587b47dbfb4ba8546bd80629a1f8bc8c2ec8 | |
parent | 0de3b56b137e92afa6a4581a0bb51633159180d6 [diff] |
powerpc/mm/hugetlb: Sanity check gigantic hugepage count Limit the number of gigantic hugepages specified by the hugepages= parameter to MAX_NUMBER_GPAGES. Signed-off-by: James Yang <James.Yang@freescale.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>