Re: [PATCH v2 08/10] s390/alternative: Serialize text patching with text_mutex

From: Ilya Leoshkevich

Date: Wed Oct 28 2026 - 08:25:52 EST




On 10/27/26 15:30, Heiko Carstens wrote:
Acquire text_mutex inside __apply_alternatives() around the patching
loop.

Serialization is not required for __apply_alternatives(), 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/alternative.c | 4 ++++
1 file changed, 4 insertions(+)
Reviewed-by: Ilya Leoshkevich <iii@xxxxxxxxxxxxx>