• P
    cpu: Make CPU-offline idle-loop transition point more precise · 528a25b0
    Paul E. McKenney 提交于
    This commit uses a per-CPU variable to make the CPU-offline code path
    through the idle loop more precise, so that the outgoing CPU is
    guaranteed to make it into the idle loop before it is powered off.
    This commit is in preparation for putting the RCU offline-handling
    code on this code path, which will eliminate the magic one-jiffy
    wait that RCU uses as the maximum time for an outgoing CPU to get
    all the way through the scheduler.
    
    The magic one-jiffy wait for incoming CPUs remains a separate issue.
    Signed-off-by: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>
    528a25b0
cpu.c 19.3 KB