All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] numa allocations for devm and pmem
@ 2015-09-26  1:17 ` Dan Williams
  0 siblings, 0 replies; 14+ messages in thread
From: Dan Williams @ 2015-09-26  1:17 UTC (permalink / raw)
  To: tj; +Cc: Ross Zwisler, linux-nvdimm, hch, linux-kernel

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(-)

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-10-04  6:41 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-26  1:17 [PATCH 0/3] numa allocations for devm and pmem Dan Williams
2015-09-26  1:17 ` Dan Williams
2015-09-26  1:17 ` [PATCH 1/3] devm: make allocations numa aware by default Dan Williams
2015-09-26  1:17   ` Dan Williams
2015-09-30  0:30   ` Dan Williams
2015-09-30  0:30     ` Dan Williams
2015-09-30 21:40     ` Tejun Heo
2015-09-30 21:40       ` Tejun Heo
2015-09-26  1:17 ` [PATCH 2/3] devm_memremap_pages: use numa_mem_id Dan Williams
2015-09-26  1:17   ` Dan Williams
2015-09-26  1:17 ` [PATCH 3/3] pmem, memremap: convert to numa aware allocations Dan Williams
2015-09-26  1:17   ` Dan Williams
2015-10-04  6:40 ` [PATCH 0/3] numa allocations for devm and pmem Christoph Hellwig
2015-10-04  6:40   ` Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.