• Philippe Gerum's avatar
    lib/smp_processor_id: ipipe: exclude head domain from preemption check · bc085b2b
    Philippe Gerum authored
    There can be no CPU migration from the head stage, however the
    out-of-band code currently running smp_processor_id() might have
    preempted the regular kernel code from within a preemptible section,
    which might cause false positive in the end.
    
    These are the two reasons why we certainly neither need nor want to do
    the preemption check in that case.
    bc085b2b
smp_processor_id.c 1.44 KB