[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALvZod5yLyuagfmG4LpAkNihMhisioYXnruKL7GA3owOTSvy-g@mail.gmail.com>
Date: Wed, 3 Nov 2021 10:39:04 -0700
From: Shakeel Butt <shakeelb@...gle.com>
To: Michal Koutný <mkoutny@...e.com>
Cc: cgroups@...r.kernel.org, Johannes Weiner <hannes@...xchg.org>,
Li Zefan <lizefan@...wei.com>, Tejun Heo <tj@...nel.org>,
Hao Sun <sunhao.th@...il.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] cgroup: rstat: Mark benign data race to silence KCSAN
On Wed, Nov 3, 2021 at 9:59 AM Michal Koutný <mkoutny@...e.com> wrote:
>
> There is a race between updaters and flushers (flush can possibly miss
> the latest update(s)). This is expected as explained in
> cgroup_rstat_updated() comment, add also machine readable annotation so
> that KCSAN results aren't noisy.
>
> Reported-by: Hao Sun <sunhao.th@...il.com>
> Link: https://lore.kernel.org/r/CACkBjsbPVdkub=e-E-p1WBOLxS515ith-53SFdmFHWV_QMo40w@mail.gmail.com
> Suggested-by: Hao Sun <sunhao.th@...il.com>
>
> Signed-off-by: Michal Koutný <mkoutny@...e.com>
Reviewed-by: Shakeel Butt <shakeelb@...gle.com>
Powered by blists - more mailing lists