Hi, The 1st patch figures out correct numa node for each kind of hw queue. The 2nd patch simplifies reallocation of q->queue_hw_ctx a bit. The 3rd patch re-configures poll capability after queue map is changed. The 4th patch changes mtip32xx to avoid to refer to q->queue_hw_ctx directly. The 5th & 6th patches fix use-after-free on q->queue_hw_ctx. Ming Lei (6): blk-mq: figure out correct numa node for hw queue blk-mq: simplify reallocation of hw ctxs a bit blk-mq: re-config poll after queue map is changed block: mtip32xx: don't touch q->queue_hw_ctx blk-mq: add helper of blk_mq_get_hctx to retrieve hctx via its index blk-mq: manage hctx map via xarray block/blk-mq-sysfs.c | 2 +- block/blk-mq-tag.c | 2 +- block/blk-mq.c | 125 +++++++++++++++++------------- block/blk-mq.h | 2 +- drivers/block/mtip32xx/mtip32xx.c | 4 +- include/linux/blk-mq.h | 8 +- include/linux/blkdev.h | 2 +- 7 files changed, 84 insertions(+), 61 deletions(-) -- 2.31.1