Re: [PATCH for-6.18/block 1/2] blk-cgroup: allocate policy data with GFP_NOIO in blkcg_activate_policy()
From: Yu Kuai
Date: Tue Sep 23 2025 - 20:52:21 EST
Hi,
在 2025/09/23 19:03, Ming Lei 写道:
On Tue, Sep 23, 2025 at 4:06 PM Yu Kuai <yukuai1@xxxxxxxxxxxxxxx> wrote:Yes, this can just consider a cleanup, I'll remove this if we think this
From: Yu Kuai <yukuai3@xxxxxxxxxx>
Queue is freezed while activating policy, allocate memory with queue
freezed has the risk of deadlock because memory reclaim can issue new
IO.
blk_mq_freeze_queue() already covers it by calling memalloc_noio_save(),
so this patch looks not necessary.
is not necessary.
Or do you have a lockdep warning?
No.
Thanks,
Kuai
Thanks,
.