Re: [PATCH v5 4/7] s390/percpu: Use new percpu code section for arch_this_cpu_add_return()

From: Alexander Gordeev

Date: Tue Jun 02 2026 - 07:43:56 EST


On Tue, May 26, 2026 at 07:56:59AM +0200, Heiko Carstens wrote:
> Convert arch_this_cpu_add_return() to make use of the new percpu code
> section infrastructure.
>
> With this the text size of the kernel image is reduced by ~4k
> (defconfig). Also 66 generated preempt_schedule_notrace() function
> calls within the kernel image (modules not counted) are removed.
>
> Signed-off-by: Heiko Carstens <hca@xxxxxxxxxxxxx>
> ---
> arch/s390/include/asm/percpu.h | 26 +++++++++++++++++++-------
> 1 file changed, 19 insertions(+), 7 deletions(-)

Acked-by: Alexander Gordeev <agordeev@xxxxxxxxxxxxx>