Xianting Tian 576e85c5e9 blk-mq: remove the calling of local_memory_node()
We don't need to check whether the node is memoryless numa node before
calling allocator interface. SLUB(and SLAB,SLOB) relies on the page
allocator to pick a node. Page allocator should deal with memoryless
nodes just fine. It has zonelists constructed for each possible nodes.
And it will automatically fall back into a node which is closest to the
requested node. As long as __GFP_THISNODE is not enforced of course.

The code comments of kmem_cache_alloc_node() of SLAB also showed this:
 * Fallback to other node is possible if __GFP_THISNODE is not set.

blk-mq code doesn't set __GFP_THISNODE, so we can remove the calling
of local_memory_node().

Signed-off-by: Xianting Tian <tian.xianting@h3c.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2020-10-20 07:08:17 -06:00
..
2020-10-13 12:12:44 -07:00
2020-08-18 07:48:08 -07:00
2020-10-13 12:12:44 -07:00
2020-08-18 07:48:08 -07:00
2020-08-18 07:48:08 -07:00
2020-10-13 12:12:44 -07:00
2020-10-13 12:12:44 -07:00
2020-09-03 15:20:47 -06:00
2020-03-17 20:55:21 +01:00
2020-10-13 12:12:44 -07:00
2020-05-29 16:30:39 -06:00
2020-09-23 09:18:13 -06:00
2020-01-03 09:33:21 +01:00
2020-10-05 10:38:33 -06:00
2020-09-25 08:18:57 -06:00
2020-10-13 13:04:41 -07:00
2020-01-06 20:59:04 -07:00