mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Catalin Marinas <catalin.marinas@arm.com>
To: Karl Mehltretter <kmehltretter@gmail.com>
Cc: Russell King <linux@armlinux.org.uk>,
	Will Deacon <will@kernel.org>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] ARM: asid: Do not replace active_asids if already 0
Date: Thu, 27 Aug 2026 11:26:42 +0100	[thread overview]
Message-ID: <apAQ4gc71DiGmDO2@arm.com> (raw)
In-Reply-To: <20260809180600.6049-1-kmehltretter@gmail.com>

On Sun, Aug 09, 2026 at 08:06:00PM +0200, Karl Mehltretter wrote:
> This is similar to the arm64 patch [1], with the difference that
> non-relaxed (cmp)xchg is used as in the existing ARM code.

The patch is still valid. It's safe to use the relaxed accessors here if
you want or maybe do it as a separate patch for other atomic ops in this
code. I think at the time we added the ASID allocator, there were no
relaxed accessors in the kernel.

You can send it to Russell's patch system.

-- 
Catalin

  parent reply	other threads:[~2026-08-27 10:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-09 18:06 Karl Mehltretter
2026-08-27  3:56 ` Karl Mehltretter
2026-08-27 10:26 ` Catalin Marinas [this message]
2026-08-29 17:49   ` Karl Mehltretter

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=apAQ4gc71DiGmDO2@arm.com \
    --to=catalin.marinas@arm.com \
    --cc=kmehltretter@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®