Re: [PATCH v2 01/10] s390/jump_label: Serialize text patching with text_mutex
From: Ilya Leoshkevich
Date: Wed Oct 28 2026 - 06:52:47 EST
On 10/27/26 15:30, Heiko Carstens wrote:
Acquire text_mutex around the verify-then-patch sequence in
jump_label_transform(). This way s390 uses text_mutex like other
architectures and does not need to rely on other implicit semantics
(e.g. no kprobe can be set on a jump label).
This is part of larger series where at the end s390_kernel_write()
requires that callers hold text_mutex for serialization.
Signed-off-by: Heiko Carstens <hca@xxxxxxxxxxxxx>
---
arch/s390/kernel/jump_label.c | 2 ++
1 file changed, 2 insertions(+)
Reviewed-by: Ilya Leoshkevich <iii@xxxxxxxxxxxxx>