Re: x86/pti: smp_processor_id() called while preemptible in resume-from-sleep

From: Linus Torvalds
Date: Sat Dec 30 2017 - 15:00:31 EST


On Sat, Dec 30, 2017 at 11:41 AM, Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>
> That pagetable fiddling dissappeared long ago, but the flush stayed around
> forever.

Yes, so it all makes sense, and those two tlb invalidates should just
be removed.

Good to have the reason for the left-over code understood.

Linus