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

From: 'Sebastian Andrzej Siewior'
Date: Wed Oct 17 2018 - 06:39:31 EST


On 2018-10-17 09:54:38 [+0000], David Laight wrote:
> Can it make any sense to flush the tlb with preemption enabled?
it might. Usually it is disabled for other reasons.

> Surely preemption must be disabled over something else as well?
In this case it is due to the CR3 reload. I don't see anything else.

> David

Sebastian