Linux s390 Architecture development
 help / color / mirror / Atom feed
From: Alexander Gordeev <agordeev@linux.ibm.com>
To: Heiko Carstens <hca@linux.ibm.com>
Cc: Sven Schnelle <svens@linux.ibm.com>,
	Vasily Gorbik <gor@linux.ibm.com>,
	Christian Borntraeger <borntraeger@linux.ibm.com>,
	Juergen Christ <jchrist@linux.ibm.com>,
	linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org
Subject: Re: [PATCH v5 7/7] s390/percpu: Provide arch_this_cpu_write() implementation
Date: Tue, 2 Jun 2026 13:40:32 +0200	[thread overview]
Message-ID: <032b0b0e-409b-4f0a-9958-5d4196a5b655-agordeev@linux.ibm.com> (raw)
In-Reply-To: <20260526055702.1429061-8-hca@linux.ibm.com>

On Tue, May 26, 2026 at 07:57:02AM +0200, Heiko Carstens wrote:
> Provide an s390 specific implementation of arch_this_cpu_write()
> instead of the generic variant. The generic variant uses a quite
> expensive raw_local_irq_save() / raw_local_irq_restore() pair.
> 
> Get rid of this by providing an own variant which makes use of the new
> percpu code section infrastructure.
> 
> With this the text size of the kernel image is reduced by ~1k (defconfig).
> 
> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
> ---
>  arch/s390/include/asm/percpu.h | 30 ++++++++++++++++++++++++++++++
>  1 file changed, 30 insertions(+)

Acked-by: Alexander Gordeev <agordeev@linux.ibm.com>

      reply	other threads:[~2026-06-02 11:40 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-26  5:56 [PATCH v5 0/7] s390: Improve this_cpu operations Heiko Carstens
2026-05-26  5:56 ` [PATCH v5 1/7] s390/percpu: Infrastructure for more efficient " Heiko Carstens
2026-06-01  7:10   ` Alexander Gordeev
2026-06-01 13:27     ` Heiko Carstens
2026-06-01 14:49       ` Alexander Gordeev
2026-06-01 15:08         ` Heiko Carstens
2026-06-02 13:32           ` David Laight
2026-06-02 13:54             ` Heiko Carstens
2026-06-02 14:36               ` David Laight
2026-06-02 10:08   ` Alexander Gordeev
2026-05-26  5:56 ` [PATCH v5 2/7] s390/percpu: Add missing do { } while (0) constructs Heiko Carstens
2026-06-01  7:14   ` Alexander Gordeev
2026-05-26  5:56 ` [PATCH v5 3/7] s390/percpu: Use new percpu code section for arch_this_cpu_add() Heiko Carstens
2026-06-02 11:33   ` Alexander Gordeev
2026-05-26  5:56 ` [PATCH v5 4/7] s390/percpu: Use new percpu code section for arch_this_cpu_add_return() Heiko Carstens
2026-06-02 11:34   ` Alexander Gordeev
2026-05-26  5:57 ` [PATCH v5 5/7] s390/percpu: Use new percpu code section for arch_this_cpu_[and|or]() Heiko Carstens
2026-06-02 11:35   ` Alexander Gordeev
2026-05-26  5:57 ` [PATCH v5 6/7] s390/percpu: Provide arch_this_cpu_read() implementation Heiko Carstens
2026-06-02 11:40   ` Alexander Gordeev
2026-05-26  5:57 ` [PATCH v5 7/7] s390/percpu: Provide arch_this_cpu_write() implementation Heiko Carstens
2026-06-02 11:40   ` Alexander Gordeev [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=032b0b0e-409b-4f0a-9958-5d4196a5b655-agordeev@linux.ibm.com \
    --to=agordeev@linux.ibm.com \
    --cc=borntraeger@linux.ibm.com \
    --cc=gor@linux.ibm.com \
    --cc=hca@linux.ibm.com \
    --cc=jchrist@linux.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-s390@vger.kernel.org \
    --cc=svens@linux.ibm.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