• A
    [PATCH] enable X86_PC for HOTPLUG_CPU · 35076bdf
    Ashok Raj 提交于
    CPU_HOTPLUG has race conditions when we use broadcast mode IPI.
    
    - First we introduced no_broadcast option
        (see include/asm-i386/mach-default/mach_ipi.h)
    
    - x86_64 solved it by using physical flat mode (same as bigsmp on i386)
      since this will not use broadcast shortcuts for IPI.
    
    - We switched to use bigsmp on i386 so that we can have same handling as
      x86_64, but apparently this caused an error message, if kernel was
      compiled without X86_GENERICARCH, X86_BIGSMP.  The message "You have >8
      CPUS..." which was bogus and misleading, and only indicated one of the
      above ARCH wasnt selected.
    
    So we do not switch to automatic bigsmp for HOTPLUG_CPU support in i386
    until the other related config dependencies for SMP_SUSPEND etc can be done
    right.
    Signed-off-by: NAshok Raj <ashok.raj@intel.com>
    Signed-off-by: NAndrew Morton <akpm@osdl.org>
    Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
    35076bdf
Kconfig 36.3 KB