]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge branch 'bpf-s390-implement-get_preempt_count'
authorAlexei Starovoitov <ast@kernel.org>
Tue, 3 Mar 2026 16:35:07 +0000 (08:35 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 3 Mar 2026 16:36:12 +0000 (08:36 -0800)
commit74fef05ef11846515f4386d451b176ccb9e062b5
treeade91f9d2ca3f424da9d4f109db585845f79459f
parent309d8808eef93d29b65ae69241a4475b2c8bd6fe
parent0f87614c4dbdd14bbcc23c69b09be58177ce7b9b
Merge branch 'bpf-s390-implement-get_preempt_count'

Ilya Leoshkevich says:

====================
bpf/s390: Implement get_preempt_count()

This series adds get_preempt_count() BPF implementation for s390.
On s390 preempt_count lives in lowcore: a per-cpu data structure
mapped at virtual address 0 or 0x70000 depending on the kernel
command line.

Patch 1 adds a kfunc to obtain lowcore address.
Patch 2 is the implementation that delegates to it.
====================

Link: https://patch.msgid.link/20260217160813.100855-1-iii@linux.ibm.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>