Re: [PATCH] block: do not put mq context in blk_mq_alloc_request_hctx
From: Jens Axboe <axboe@fb.com>
Date: 2017-03-30 14:23:19
Also in:
lkml
From: Jens Axboe <axboe@fb.com>
Date: 2017-03-30 14:23:19
Also in:
lkml
On 03/29/2017 11:20 PM, Minchan Kim wrote:
In blk_mq_alloc_request_hctx, blk_mq_sched_get_request doesn't get sw context so we don't need to put the context with blk_mq_put_ctx. Unless, we will see preempt counter underflow.
Good catch, that's definitely a bug. I have applied your patch for 4.11. -- Jens Axboe