From: Jens Axboe <axboe@kernel.dk>
To: Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com>
Cc: tom.leiming@gmail.com, linux-block@vger.kernel.org,
nacc@linux.vnet.ibm.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] blk-mq: Avoid memoryless numa node encoded in hctx numa_node
Date: Thu, 3 Dec 2015 09:56:54 -0700 [thread overview]
Message-ID: <56607456.1090807@kernel.dk> (raw)
In-Reply-To: <1449055745-14575-1-git-send-email-raghavendra.kt@linux.vnet.ibm.com>
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
prev parent reply other threads:[~2015-12-03 16:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-02 11:29 [PATCH] blk-mq: Avoid memoryless numa node encoded in hctx numa_node Raghavendra K T
2015-12-03 10:04 ` Sagi Grimberg
2015-12-03 16:56 ` Jens Axboe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56607456.1090807@kernel.dk \
--to=axboe@kernel.dk \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nacc@linux.vnet.ibm.com \
--cc=raghavendra.kt@linux.vnet.ibm.com \
--cc=tom.leiming@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox