We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ab7745 commit eda0970Copy full SHA for eda0970
kernel/cgroup/rstat.c
@@ -35,7 +35,7 @@ void cgroup_rstat_updated(struct cgroup *cgrp, int cpu)
35
* instead of NULL, we can tell whether @cgrp is on the list by
36
* testing the next pointer for NULL.
37
*/
38
- if (cgroup_rstat_cpu(cgrp, cpu)->updated_next)
+ if (data_race(cgroup_rstat_cpu(cgrp, cpu)->updated_next))
39
return;
40
41
raw_spin_lock_irqsave(cpu_lock, flags);
0 commit comments