Re: [PATCH v3 3/3] mm: use numa_mem_id() in alloc_pages_node()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Vlastimil Babka <vbabka@xxxxxxx>
- Subject: Re: [PATCH v3 3/3] mm: use numa_mem_id() in alloc_pages_node()
- From: Johannes Weiner <hannes@xxxxxxxxxxx>
- Date: Thu, 30 Jul 2015 13:41:12 -0400
- Cc: linux-mm@xxxxxxxxx, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, Mel Gorman <mgorman@xxxxxxx>, David Rientjes <rientjes@xxxxxxxxxx>, Greg Thelen <gthelen@xxxxxxxxxx>, "Aneesh Kumar K.V" <aneesh.kumar@xxxxxxxxxxxxxxxxxx>, Christoph Lameter <cl@xxxxxxxxx>, Pekka Enberg <penberg@xxxxxxxxxx>, Joonsoo Kim <iamjoonsoo.kim@xxxxxxx>, Naoya Horiguchi <n-horiguchi@xxxxxxxxxxxxx>, linux-ia64@xxxxxxxxxxxxxxx, linuxppc-dev@xxxxxxxxxxxxxxxx, cbe-oss-dev@xxxxxxxxxxxxxxxx, kvm@xxxxxxxxxxxxxxx, Mel Gorman <mgorman@xxxxxxxxxxxxxxxxxxx>
- In-reply-to: <1438274071-22551-3-git-send-email-vbabka@suse.cz>
- List-id: <linux-ia64.vger.kernel.org>
- References: <1438274071-22551-1-git-send-email-vbabka@suse.cz> <1438274071-22551-3-git-send-email-vbabka@suse.cz>
- User-agent: Mutt/1.5.23+102 (2ca89bed6448) (2014-03-12)
On Thu, Jul 30, 2015 at 06:34:31PM +0200, Vlastimil Babka wrote:
> numa_mem_id() is able to handle allocation from CPUs on memory-less nodes,
> so it's a more robust fallback than the currently used numa_node_id().
Won't it fall through to the next closest memory node in the zonelist
anyway? Is this for callers doing NUMA_NO_NODE with __GFP_THISZONE?
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]