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

2019-04-25 Thread Peter Zijlstra
On Mon, Apr 22, 2019 at 11:57:46AM -0700, Rick Edgecombe wrote: > From: Nadav Amit > > 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 si

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

2019-04-25 Thread Borislav Petkov
> Subject: Re: [PATCH v4 04/23] x86/mm: Save DRs when loading a temporary mm s/DRs/debug registers/ On Mon, Apr 22, 2019 at 11:57:46AM -0700, Rick Edgecombe wrote: > From: Nadav Amit > > Prevent user watchpoints from mistakenly firing while the temporary mm > is being used. A

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

2019-04-22 Thread Rick Edgecombe
From: Nadav Amit 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. Cc: Andy Lutomirski Signed-off-by: