From: Tejun Heo Date: Mon, 4 Apr 2011 22:23:57 +0000 (+0200) Subject: x86-32, numa: Make pgdat allocation use alloc_remap() X-Git-Tag: v3.0-rc1~396^2~29^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2e3e4fa3eee752b893687783f2a427106c93423;p=pandora-kernel.git x86-32, numa: Make pgdat allocation use alloc_remap() pgdat allocation is handled differnetly from other remap allocations - it's reserved during initialization. There's no reason to handle this any differnetly. Remap allocator is initialized for every node and if init failed the allocation will fail and pgdat allocation can fall back to generic code like anyone else. Remove special init-time pgdat reservation and make allocate_pgdat() use alloc_remap() like everyone else. Signed-off-by: Tejun Heo Link: http://lkml.kernel.org/r/1301955840-7246-12-git-send-email-tj@kernel.org Acked-by: Yinghai Lu Cc: David Rientjes Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed