Re: [PATCH v2 06/10] s390/stackprotector: Serialize text patching with text_mutex

From: Ilya Leoshkevich

Date: Wed Oct 28 2026 - 08:23:45 EST




On 10/27/26 15:30, Heiko Carstens wrote:
Acquire text_mutex inside __stack_protector_apply() to serialize text
patching.

Serialization is not required for __stack_protector_apply(), however this
is part of larger series where at the end s390_kernel_write() requires
that callers hold text_mutex.

Signed-off-by: Heiko Carstens <hca@xxxxxxxxxxxxx>
---
arch/s390/kernel/stackprotector.c | 4 ++++
1 file changed, 4 insertions(+)
Reviewed-by: Ilya Leoshkevich <iii@xxxxxxxxxxxxx>