Re: [PATCH 3/3] x86/efi: Use efi_switch_mm() rather than manually twiddling with cr3

From: Matt Fleming
Date: Wed Aug 16 2017 - 08:57:24 EST


On Wed, 16 Aug, at 12:03:22PM, Mark Rutland wrote:
>
> I'd expect we'd abort at a higher level, not taking any sample. i.e.
> we'd have the core overflow handler check in_funny_mm(), and if so, skip
> the sample, as with the skid case.

FYI, this is my preferred solution for x86 too.