Re: [Patch V3 05/37] x86, PCI, ACPI: use kmalloc_node() to optimize for performance

From: David Rientjes
Date: Tue May 27 2014 - 17:22:48 EST


On Tue, 27 May 2014, Jiang Liu wrote:

> Use kmalloc_node() instead of kmalloc() when possible to optimize
> for performance on NUMA platforms.
>
> Signed-off-by: Jiang Liu <jiang.liu@xxxxxxxxxxxxxxx>

Acked-by: David Rientjes <rientjes@xxxxxxxxxx>

All the handling to make sure sd->node refers to either NUMA_NO_NODE
(fallback to local allocation) or an online node looks to be handled
properly.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/