devm_memremap_pages: use numa_mem_id
authorDan Williams <dan.j.williams@intel.com>
Tue, 6 Oct 2015 00:35:55 +0000 (20:35 -0400)
committerDan Williams <dan.j.williams@intel.com>
Fri, 9 Oct 2015 21:00:33 +0000 (17:00 -0400)
commit7eff93b7c99f5d0024aee677c6c92e32af22e1d2
treeef6c1fd1eebdb64c742cf73fa575e0088f8933af
parent7c683941f30a977c10ec6be174ec5f16939c7ce5
devm_memremap_pages: use numa_mem_id

Hint to closest numa node for the placement of newly allocated pages.
As that is where the device's other allocations will originate by
default when it does not specify a NUMA node.

Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
kernel/memremap.c