summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorYu Kuai <yukuai@fygo.io>2026-06-08 11:42:43 +0800
committerJens Axboe <axboe@kernel.dk>2026-06-24 06:37:54 -0600
commit0af3fedb8c8ed3c07b4f76927bd7fc88f6f82efb (patch)
tree5c873888adb905f7685ddd3dd040bbba202732dc /include/linux
parent25656304dabd26198ec69460c594a19d086ef099 (diff)
blk-cgroup: delay freeing policy data after rcu grace period
Currently blkcg_print_blkgs() must hold RCU to iterate blkgs from a blkcg, and prfill() must hold queue_lock to prevent policy data from being freed by policy deactivation. As a consequence, queue_lock has to be nested under RCU from blkcg_print_blkgs(). Delay freeing policy data until after an RCU grace period so prfill() can be protected by RCU alone. Signed-off-by: Yu Kuai <yukuai@fygo.io> Link: https://patch.msgid.link/e20e5d984b41a026d61851966bed35eb094c4bff.1780621988.git.yukuai@fygo.io Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions