[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150926011243.2848.82422.stgit@dwillia2-desk3.jf.intel.com>
Date: Fri, 25 Sep 2015 21:17:37 -0400
From: Dan Williams <dan.j.williams@...el.com>
To: tj@...nel.org
Cc: Ross Zwisler <ross.zwisler@...ux.intel.com>,
linux-nvdimm@...ts.01.org, hch@....de, linux-kernel@...r.kernel.org
Subject: [PATCH 0/3] numa allocations for devm and pmem
I noticed that pmem should be using blk_alloc_queue_node() and then I
wondered about the devm allocations... So, here is a quick conversion
of devm to use dev_to_node() for node local allocations by default and
as a result pmem to allocate all its driver infrastructure near to the
device.
---
Dan Williams (3):
devm: make allocations numa aware by default
devm_memremap_pages: use numa_mem_id
pmem, memremap: convert to numa aware allocations
drivers/base/devres.c | 19 ++++++++++---------
drivers/nvdimm/pmem.c | 5 +++--
include/linux/device.h | 16 ++++++++++++----
kernel/memremap.c | 9 +++++----
4 files changed, 30 insertions(+), 19 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists