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

Steven Rostedt
2022-03-17T18:38:56Z

On Thu, 17 Mar 2022 17:11:42 +0100
Sven Schnelle <svens@linux.ibm.com> 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