summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2026-05-26 07:57:01 +0200
committerAlexander Gordeev <agordeev@linux.ibm.com>2026-06-03 15:32:47 +0200
commit9858c19a66386cb2553480643f2d4565993d1cd8 (patch)
tree24483ceee1ec27829d198e20fa853a5e6367795b /scripts
parentee8cefbfb0718bfe1460cf2ba72722c51f6789eb (diff)
s390/percpu: Provide arch_this_cpu_read() implementation
Provide an s390 specific implementation of arch_this_cpu_read() instead of the generic variant. The generic variant uses preempt_disable() / preempt_enable() pair and READ_ONCE(). Get rid of the preempt_disable() / preempt_enable() pairs 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). Also 87 generated preempt_schedule_notrace() function calls within the kernel image (modules not counted) are removed. Acked-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions