From: Pedro Falcato <pfalcato@suse.de>
To: Ignacio Encinas <ignacio@iencinas.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
linux-mm@kvack.org, Lorenzo Stoakes <lorenzo.stoakes@oracle.com>,
"Liam R. Howlett" <Liam.Howlett@oracle.com>,
linux-kernel-mentees@lists.linux.dev, skhan@linuxfoundation.org,
linux-kernel@vger.kernel.org,
syzbot+419c4b42acc36c420ad3@syzkaller.appspotmail.com
Subject: Re: [PATCH v2] mm: annotate data race in update_hiwater_rss
Date: Mon, 31 Mar 2025 21:08:30 +0100 [thread overview]
Message-ID: <qplfqar7kht2cyuqntxgzap6cha7evp4b4kj43a3fa7xhujebn@5pdd5igza3wg> (raw)
In-Reply-To: <20250331-mm-maxrss-data-race-v2-1-cf958e6205bf@iencinas.com>
On Mon, Mar 31, 2025 at 09:57:05PM +0200, Ignacio Encinas wrote:
> 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.
>
> 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>
> Signed-off-by: Ignacio Encinas <ignacio@iencinas.com>
Looks good, thank you for the contribution!
Acked-by: Pedro Falcato <pfalcato@suse.de>
--
Pedro
prev parent reply other threads:[~2025-03-31 20:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-31 19:57 Ignacio Encinas
2025-03-31 20:08 ` Pedro Falcato [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=qplfqar7kht2cyuqntxgzap6cha7evp4b4kj43a3fa7xhujebn@5pdd5igza3wg \
--to=pfalcato@suse.de \
--cc=Liam.Howlett@oracle.com \
--cc=akpm@linux-foundation.org \
--cc=ignacio@iencinas.com \
--cc=linux-kernel-mentees@lists.linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lorenzo.stoakes@oracle.com \
--cc=skhan@linuxfoundation.org \
--cc=syzbot+419c4b42acc36c420ad3@syzkaller.appspotmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox