Re: [RFC v2 02/26] mm/asi: Abort isolation on interrupt, exception and context switch

From: Andy Lutomirski
Date: Thu Jul 11 2019 - 20:06:02 EST



> On Jul 11, 2019, at 8:25 AM, Alexandre Chartre <alexandre.chartre@xxxxxxxxxx> wrote:
>
> Address space isolation should be aborted if there is an interrupt,
> an exception or a context switch. Interrupt/exception handlers and
> context switch code need to run with the full kernel address space.
> Address space isolation is aborted by restoring the original CR3
> value used before entering address space isolation.
>

NAK to the entry changes. That code youâre changing is already known to be a bit buggy, and itâs spaghetti. PeterZ and I are gradually working on fixing some bugs and C-ifying it. ASI can go on top.