On Tue, Nov 11, 2014 at 05:02:43PM -0800, Andrew Morton wrote:
On Wed, 12 Nov 2014 00:54:01 +0000 Luke Dashjr luke@dashjr.org wrote:
On Wednesday, November 12, 2014 12:49:13 AM Andrew Morton wrote:
But anyway - Luke, please attach your .config to https://bugzilla.kernel.org/show_bug.cgi?id=87891?
OK, thanks. No CONFIG_HIGHMEM of course. I'm stumped.
Hello, Andrew.
I think that the cause is GFP_HIGHMEM. GFP_HIGHMEM is always defined regardless CONFIG_HIGHMEM. Please look at the do_huge_pmd_anonymous_page(). It calls alloc_hugepage_vma() and then alloc_pages_vma() is called with alloc_hugepage_gfpmask(). This gfpmask includes GFP_TRANSHUGE and then GFP_HIGHUSER_MOVABLE.
Thanks.