From: Karl Mehltretter <kmehltretter@gmail.com>
To: Catalin Marinas <catalin.marinas@arm.com>
Cc: linux-arm-kernel@lists.infradead.org,
Russell King <linux@armlinux.org.uk>,
Will Deacon <will@kernel.org>
Subject: Re: [PATCH] arm: asid: Do not replace active_asids if already 0
Date: Sat, 25 Jul 2026 12:12:16 +0200 [thread overview]
Message-ID: <amSFZixpR60Mrg7B@gmail.com> (raw)
In-Reply-To: <20180104180405.37596-1-catalin.marinas@arm.com>
On Thu, Jan 04, 2018 at 06:04:05PM +0100, Catalin Marinas wrote:
> This patch changes the xchg to cmpxchg so that the active_asids is only
> updated if non-zero to avoid a race with an ASID roll-over on a
> different CPU.
>
> Cc: Russell King <linux@armlinux.org.uk>
> Cc: Will Deacon <will.deacon@arm.com>
> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
> ---
>
> This is similar to the arm64 patch [1], with the difference that non-relaxed
> (cmp)xchg is used as per the existing code.
>
> [1] http://lkml.kernel.org/r/20180104111721.33834-1-catalin.marinas at arm.com
>
Hello Catalin,
While the arm64 patch was reviewed and merged, this patch never got any reply.
It needs a small rebase, but the change itself still applies today.
Would you like to resend it ?
Thanks,
Karl
prev parent reply other threads:[~2026-07-25 10:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-04 18:04 [PATCH] arm: asid: Do not replace active_asids if already 0 Catalin Marinas
2026-07-25 10:12 ` Karl Mehltretter [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=amSFZixpR60Mrg7B@gmail.com \
--to=kmehltretter@gmail.com \
--cc=catalin.marinas@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux@armlinux.org.uk \
--cc=will@kernel.org \
/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