[PATCH v3] blk-cgroup: Replace u64 sync with spinlock for iostat update

tj at kernel.org tj at kernel.org
Wed Jul 17 11:57:04 PDT 2024


On Wed, Jul 17, 2024 at 02:55:37PM -0400, Waiman Long wrote:
> I was wrong about __blkcg_rstat_flush(). Right, the main updater of
> iostat_cpu is  blk_cgroup_bio_start(). We do need to drop down some comment
> on what is protected by u64_sync and what is by blkg_stat_lock though. It
> can be confusing.

Oh yeah, definitely. It is confusing.

-- 
tejun



More information about the Linux-mediatek mailing list