Re: [PATCH] cgroup: rstat: Mark benign data race to silence KCSAN
From: Shakeel Butt <hidden>
Date: 2021-11-03 17:39:22
Also in:
lkml
From: Shakeel Butt <hidden>
Date: 2021-11-03 17:39:22
Also in:
lkml
On Wed, Nov 3, 2021 at 9:59 AM Michal Koutný [off-list ref] 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 <redacted> Link: https://lore.kernel.org/r/CACkBjsbPVdkub=e-E-p1WBOLxS515ith-53SFdmFHWV_QMo40w@mail.gmail.com (local) Suggested-by: Hao Sun <redacted> Signed-off-by: Michal Koutný <mkoutny@suse.com>
Reviewed-by: Shakeel Butt <redacted>