]> www.infradead.org Git - users/jedix/linux-maple.git/commit
devm: make allocations numa aware by default
authorDan Williams <dan.j.williams@intel.com>
Tue, 6 Oct 2015 00:35:55 +0000 (20:35 -0400)
committerDan Duval <dan.duval@oracle.com>
Wed, 7 Dec 2016 17:20:02 +0000 (12:20 -0500)
commita4551eba287a55e48098614ea5086fb37bc94de1
treed57667b5863a95cf125dcbe8817a54e0dd3fdfca
parent72625bdf60982ba661253611f9213a94e09391f3
devm: make allocations numa aware by default

Orabug: 22913653

Given we already have a device just use dev_to_node() to provide hint
allocations for devres.  However, current devres_alloc() users will need
to explicitly opt-in with devres_alloc_node().

Reviewed-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
(cherry picked from commit 7c683941f30a977c10ec6be174ec5f16939c7ce5)
Signed-off-by: Dan Duval <dan.duval@oracle.com>
drivers/base/devres.c
include/linux/device.h