Thread (4 messages) 4 messages, 2 authors, 2021-09-20

Re: KCSAN: data-race in cgroup_rstat_flush_locked / cgroup_rstat_updated

From: Michal Koutný <hidden>
Date: 2021-09-17 16:41:33
Also in: lkml

Hello Hao.

On Thu, Sep 16, 2021 at 09:53:55PM +0800, Hao Sun [off-list ref] wrote:
KCSAN reported the following data race during the kernel booting when
using Healer to fuzz the latest Linux kernel.
[...]
 cgroup_rstat_cpu_pop_updated kernel/cgroup/rstat.c:139 [inline]
 [...]
 cgroup_rstat_updated+0x53/0x1b0 kernel/cgroup/rstat.c:38
FWIW, it's a "safe" race between updaters and flushers (possibly
missing the latest update(s)). This is expected as explained in
cgroup_rstat_updated() comment.

Michal
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help