Re: [PATCHv3 02/10] ext4: Fix ext4_fc_stats trace point

From: Steven Rostedt
Date: Thu Mar 17 2022 - 14:38:59 EST


On Thu, 17 Mar 2022 17:11:42 +0100
Sven Schnelle <svens@xxxxxxxxxxxxx> wrote:


> Looking at the oops output again made me realizes that the snprintf
> tries to write into pages that are mapped RO. Talking to Heiko he
> mentioned that s390 maps rodata/text RO when setting up the initial
> mapping while x86 has a RW mapping in the beginning and changes that
> later to RO. I haven't verified that, but that might be a reason why it
> works on x86.
>

Yes, I discovered this too. I'm currently looking to see how to fix it.

-- Steve