On 11/14/2016 11:24 AM, Gabriel Krisman Bertazi wrote:
--- a/block/blk-mq.c
+++ b/block/blk-mq.c
@@ -1597,7 +1597,7 @@ static struct blk_mq_tags *blk_mq_init_rq_map(struct
blk_mq_tag_set *set,
INIT_LIST_HEAD(>page_list);
tags->rqs = kzalloc_node(set->queue_depth * sizeof(struct
While stressing memory and IO at the same time we changed SMT settings,
we were able to consistently trigger deadlocks in the mm system, which
froze the entire machine.
I think that under memory stress conditions, the large allocations
performed by blk_mq_init_rq_map may trigger a reclaim, which