Re: [PATCH v2 5/7] x86/mm, tracing: Fix CR2 corruption

From: Linus Torvalds
Date: Sat Jul 06 2019 - 18:45:44 EST


On Sat, Jul 6, 2019 at 3:27 PM Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> We also have to deal with reading vmalloc'd data as that can fault too.

Ahh, that may be a better reason for PeterZ's patches and reading cr2
very early from asm code than the stack trace case. It's why the page
fault handler delayed enabling interrupts, after all (which is one big
reason NMI was special).

Linus