diff options
author | Matias Bjorling | 2013-12-10 16:50:38 +0100 |
---|---|---|
committer | Linus Torvalds | 2013-12-15 21:17:16 +0100 |
commit | 57053d8c5c59562cac156513740c10b502a40968 (patch) | |
tree | 0e71310912a1004760561540bc7e665957468ee5 /Makefile | |
parent | radeon_pm: fix oops in hwmon_attributes_visible() and radeon_hwmon_show_temp_... (diff) | |
download | kernel-qcow2-linux-57053d8c5c59562cac156513740c10b502a40968.tar.gz kernel-qcow2-linux-57053d8c5c59562cac156513740c10b502a40968.tar.xz kernel-qcow2-linux-57053d8c5c59562cac156513740c10b502a40968.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 'Makefile')
0 files changed, 0 insertions, 0 deletions