lkml.org 
[lkml]   [2015]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[PATCH 0/3] numa allocations for devm and pmem
From
Date
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(-)


\
 
 \ /
  Last update: 2015-09-26 03:41    [W:0.123 / U:1.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site