lkml.org 
[lkml]   [2015]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] blk-mq: Avoid memoryless numa node encoded in hctx numa_node
From
Date
On 12/02/2015 04:29 AM, Raghavendra K T wrote:
> In architecture like powerpc, we can have cpus without any local memory
> attached to it (a.k.a memoryless nodes). In such cases cpu to node mapping
> can result in memory allocation hints for block hctx->numa_node populated
> with node values which does not have real memory.
>
> Instead use local_memory_node(), which is guaranteed to have memory.
> local_memory_node is a noop in other architectures that does not support
> memoryless nodes.

Applied for 4.5, thanks.

--
Jens Axboe



\
 
 \ /
  Last update: 2015-12-03 18:01    [W:0.053 / U:3.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site