diff options
| author | Ignacio Encinas <ignacio@iencinas.com> | 2025-03-31 21:57:05 +0200 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-05-11 17:48:08 -0700 |
| commit | 2e976567233228ff928c2405f7e03ebb7fb7aa50 (patch) | |
| tree | 41c3615a8a0fe446b0192d1fe0f9fcdcc495f5c5 /tools/perf/scripts/python/stackcollapse.py | |
| parent | b4c829fa4d56f3b566bbbb41c9a8ff0c83ae84c5 (diff) | |
| download | linux-2e976567233228ff928c2405f7e03ebb7fb7aa50.tar.gz linux-2e976567233228ff928c2405f7e03ebb7fb7aa50.zip | |
mm: annotate data race in update_hiwater_rss
mm_struct.hiwater_rss can be accessed concurrently without proper
synchronization as reported by KCSAN.
This data race is benign as it only affects accounting information.
Annotate it with data_race() to make KCSAN happy.
Link: https://lkml.kernel.org/r/20250331-mm-maxrss-data-race-v2-1-cf958e6205bf@iencinas.com
Signed-off-by: Ignacio Encinas <ignacio@iencinas.com>
Reported-by: syzbot+419c4b42acc36c420ad3@syzkaller.appspotmail.com
Closes: https://lore.kernel.org/all/67e3390c.050a0220.1ec46.0001.GAE@google.com/
Suggested-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Acked-by: Pedro Falcato <pfalcato@suse.de>
Cc: Liam Howlett <liam.howlett@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
