linux/include
Vlastimil Babka 82c1fc7147 mm: use numa_mem_id() in alloc_pages_node()
alloc_pages_node() might fail when called with NUMA_NO_NODE and
__GFP_THISNODE on a CPU belonging to a memoryless node.  To make the
local-node fallback more robust and prevent such situations, use
numa_mem_id(), which was introduced for similar scenarios in the slab
context.

Suggested-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: David Rientjes <rientjes@google.com>
Acked-by: Mel Gorman <mgorman@techsingularity.net>
Acked-by: Christoph Lameter <cl@linux.com>
Cc: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-09-08 15:35:28 -07:00
..
acpi Merge branch 'pm-cpufreq' 2015-09-01 15:52:35 +02:00
asm-generic mm: add utility for early copy from unmapped ram 2015-09-08 15:35:28 -07:00
clocksource
crypto Merge branch 'for-4.3/sg' of git://git.kernel.dk/linux-block 2015-09-02 13:22:38 -07:00
drm Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2015-09-04 15:49:32 -07:00
dt-bindings media updates for v4.3-rc1 2015-09-05 18:21:14 -07:00
keys
kvm
linux mm: use numa_mem_id() in alloc_pages_node() 2015-09-08 15:35:28 -07:00
math-emu
media media updates for v4.3-rc1 2015-09-05 18:21:14 -07:00
memory
misc
net memcg: move memcg_proto_active from sock.h 2015-09-08 15:35:28 -07:00
pcmcia
ras
rdma
rxrpc
scsi SCSI misc on 20150901 2015-09-02 12:22:54 -07:00
soc
sound ALSA: hda - Fix missing inline for dummy snd_hdac_set_codec_wakeup() 2015-09-02 12:24:55 +02:00
target
trace media updates for v4.3-rc1 2015-09-05 18:21:14 -07:00
uapi NFS client updates for Linux 4.3 2015-09-07 14:02:24 -07:00
video Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2015-09-04 15:49:32 -07:00
xen xen-netback: add support for multicast control 2015-09-02 11:45:00 -07:00
Kbuild