Quantcast
Viewing all articles
Browse latest Browse all 1267

Re: x86/pti: smp_processor_id() called while preemptible in resume ...

Linus Torvalds writes: (Summary) wrote:

[...]

subtle, but from a first look that tlbflush is pointless. Regardless of whether the TLB flush makes sense in that smpboot_setup_warm_reset_vector() location (and I agree that it looks a bit odd), the warning does look pretty relevant.
a bit odd), the warning does look pretty relevant.
The __native_flush_tlb() function looks _very_ broken.
        /*
         * If current->mm == NULL then we borrow a mm which may change
         * during a task switch and therefore we must not be preempted
         * while we write CR3 back:
         */
        preempt_disable();

Viewing all articles
Browse latest Browse all 1267

Trending Articles