Thread (16 messages) 16 messages, 4 authors, 2020-03-30

Re: [PATCH 4/5] block: simplify queue allocation

From: Jens Axboe <axboe@kernel.dk>
Date: 2020-03-27 16:26:57
Also in: linux-bcache

On 3/27/20 10:24 AM, Johannes Thumshirn wrote:
On 27/03/2020 12:21, Christoph Hellwig wrote:
quoted
Because the two variants are rather pointless.  And this might get
more people to actually pass a useful node ID instead of copy and
pasting some old example code. 
So then everybody will copy the NUMA_NO_NODE ones and in X years someone 
will come up with a wrapper passing in NUMA_NO_NODE to 
blk_alloc_queue_node(), because he/she didn't read the commit history.
If you care about numa-node, then you are generally using it for other
allocations as well, so it should come naturally. If you don't, then
the copy/paste is fine. Better to expose it as the main API, so people
don't miss it.

-- 
Jens Axboe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help