summaryrefslogtreecommitdiffstats
path: root/ipc/util.c
diff options
context:
space:
mode:
authorMatias Bjorling <m@bjorling.me>2013-12-10 16:50:38 +0100
committerJens Axboe <axboe@kernel.dk>2013-12-19 16:09:38 +0100
commit0c56010c83703e1f33325838eda9a2077827b6f1 (patch)
tree573b750f8ced88b592bc0d6ccfbaa06d5cb76304 /ipc/util.c
parentdrivers: block: Mark the functions as static in skd_main.c (diff)
downloadlinux-0c56010c83703e1f33325838eda9a2077827b6f1.tar.xz
linux-0c56010c83703e1f33325838eda9a2077827b6f1.zip
null_blk: mem garbage on NUMA systems during init
For NUMA systems, initializing the blk-mq layer and using per node hctx. We initialize submit queues to 1, while blk-mq nr_hw_queues is initialized to the number of NUMA nodes. This makes the null_init_hctx function overwrite memory outside of what it allocated. In my case it lead to writing garbage into struct request_queue's mq_map. Signed-off-by: Matias Bjorling <m@bjorling.me> Cc: Jens Axboe <axboe@kernel.dk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions