Re: [PATCH v4 04/23] x86/mm: Save DRs when loading a temporary mm

From: Peter Zijlstra
Date: Thu Apr 25 2019 - 14:18:00 EST

On Mon, Apr 22, 2019 at 11:57:46AM -0700, Rick Edgecombe wrote:
> From: Nadav Amit <namit@xxxxxxxxxx>
> Prevent user watchpoints from mistakenly firing while the temporary mm
> is being used. As the addresses that of the temporary mm might overlap
> those of the user-process, this is necessary to prevent wrong signals
> or worse things from happening.

Ooh, goody, that would be fun indeed.

> Cc: Andy Lutomirski <luto@xxxxxxxxxx>

Acked-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>

> Signed-off-by: Nadav Amit <namit@xxxxxxxxxx>
> Signed-off-by: Rick Edgecombe <rick.p.edgecombe@xxxxxxxxx>