From: Oleg Nesterov <oleg@redhat.com>
To: Mani Tofigh via B4 Relay <devnull+mt4022.columbia.edu@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Christian Brauner <brauner@kernel.org>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org,
tz2294@columbia.edu, Mani Tofigh <mt4022@columbia.edu>
Subject: Re: [PATCH] exit: use READ_ONCE() to read mm->owner
Date: Wed, 28 Oct 2026 15:37:52 +0100 [thread overview]
Message-ID: <auIIwLWa3MLWCd6q@redhat.com> (raw)
In-Reply-To: <20261027-kcsan-exit-v1-1-7c0429a29bc0@columbia.edu>
On 10/27, Mani Tofigh via B4 Relay wrote:
>
> --- a/kernel/exit.c
> +++ b/kernel/exit.c
> @@ -494,7 +494,7 @@ void mm_update_next_owner(struct mm_struct *mm)
> * If the exiting or execing task is not the owner, it's
> * someone else's problem.
> */
> - if (mm->owner != p)
> + if (READ_ONCE(mm->owner) != p)
Acked-by: Oleg Nesterov <oleg@redhat.com>
next prev parent reply other threads:[~2026-10-28 14:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-27 20:09 [PATCH] exit: use READ_ONCE() to read mm->owner Mani Tofigh via B4 Relay
2026-10-27 23:16 ` Balbir Singh
2026-10-28 14:37 ` Oleg Nesterov [this message]
2026-10-29 6:54 ` Andrew Morton
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=auIIwLWa3MLWCd6q@redhat.com \
--to=oleg@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=brauner@kernel.org \
--cc=devnull+mt4022.columbia.edu@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mt4022@columbia.edu \
--cc=tz2294@columbia.edu \
/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