]> nv-tegra.nvidia Code Review - linux-3.10.git/commit
powerpc: Don't use a 16G page if beyond mem= limits
authorJon Tollefson <kniht@us.ibm.com>
Tue, 21 Oct 2008 15:27:36 +0000 (15:27 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 22 Oct 2008 04:01:21 +0000 (15:01 +1100)
commit4792adbac9eb41cea77a45ab76258ea10d411173
tree7114bdbb37728018b489d55fe3ecc8a6bef11890
parent71773f0337bee8a3701aaaec22581c18a5f44679
powerpc: Don't use a 16G page if beyond mem= limits

If mem= is used on the boot command line to limit memory then the memory block where a 16G page resides may not be available.

Thanks to Michael Ellerman for finding the problem.

Signed-off-by: Jon Tollefson <kniht@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/hash_utils_64.c