Re: [PATCH 0/2] x86/entry: simplify RESTORE_CR3

2020-05-29 Thread Andy Lutomirski
On Mon, May 25, 2020 at 9:35 PM Lai Jiangshan wrote: > > When I searched percpu data touched by entry code for #DB > protection[1], it seems to me RESTORE_CR3() does too much work, > this patchset simplifies it. > > Patch 1 enhances 21e944591102("x86/mm: Optimize RESTORE_CR3") for > kernel CR3. >

[PATCH 0/2] x86/entry: simplify RESTORE_CR3

2020-05-25 Thread Lai Jiangshan
When I searched percpu data touched by entry code for #DB protection[1], it seems to me RESTORE_CR3() does too much work, this patchset simplifies it. Patch 1 enhances 21e944591102("x86/mm: Optimize RESTORE_CR3") for kernel CR3. Patch 2 *reverts* 21e944591102("x86/mm: Optimize RESTORE_CR3") for