Re: [PATCH 1/3] x86/mm/pat: Disable preemption around __flush_tlb_all()

From: 'Sebastian Andrzej Siewior'
Date: Wed Oct 17 2018 - 08:00:23 EST


On 2018-10-17 11:45:59 [+0000], David Laight wrote:
> Right, so it should be disabled before the CR3 reload and enabled after?

It was before commit decab0888e6e1 ("x86/mm: Remove
preempt_disable/enable() from __native_flush_tlb()") then it was lifted
to the caller.

> David

Sebastian