]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
Merge branch 'sched-v28-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 10 Oct 2008 19:42:31 +0000 (12:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 10 Oct 2008 19:42:31 +0000 (12:42 -0700)
* 'sched-v28-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (38 commits)
  sched debug: add name to sched_domain sysctl entries
  sched: sync wakeups vs avg_overlap
  sched: remove redundant code in cpu_cgroup_create()
  sched_rt.c: resch needed in rt_rq_enqueue() for the root rt_rq
  cpusets: scan_for_empty_cpusets(), cpuset doesn't seem to be so const
  sched: minor optimizations in wake_affine and select_task_rq_fair
  sched: maintain only task entities in cfs_rq->tasks list
  sched: fixup buddy selection
  sched: more sanity checks on the bandwidth settings
  sched: add some comments to the bandwidth code
  sched: fixlet for group load balance
  sched: rework wakeup preemption
  CFS scheduler: documentation about scheduling policies
  sched: clarify ifdef tangle
  sched: fix list traversal to use _rcu variant
  sched: turn off WAKEUP_OVERLAP
  sched: wakeup preempt when small overlap
  kernel/cpu.c: create a CPU_STARTING cpu_chain notifier
  kernel/cpu.c: Move the CPU_DYING notifiers
  sched: fix __load_balance_iterator() for cfq with only one task
  ...

1  2 
arch/x86/kernel/smpboot.c

index 45531e3ba19436ad72001dfbcf3d5700209dc518,0b8261c3cac203a1e89d10215a7a4606044b6631..4e7ccb0e2a9b01df38dd25c0561c7694e96f9649
@@@ -88,7 -88,7 +88,7 @@@ static DEFINE_PER_CPU(struct task_struc
  #define get_idle_for_cpu(x)      (per_cpu(idle_thread_array, x))
  #define set_idle_for_cpu(x, p)   (per_cpu(idle_thread_array, x) = (p))
  #else
 -struct task_struct *idle_thread_array[NR_CPUS] __cpuinitdata ;
 +static struct task_struct *idle_thread_array[NR_CPUS] __cpuinitdata ;
  #define get_idle_for_cpu(x)      (idle_thread_array[(x)])
  #define set_idle_for_cpu(x, p)   (idle_thread_array[(x)] = (p))
  #endif
@@@ -129,7 -129,7 +129,7 @@@ static int boot_cpu_logical_apicid
  static cpumask_t cpu_sibling_setup_map;
  
  /* Set if we find a B stepping CPU */
 -int __cpuinitdata smp_b_stepping;
 +static int __cpuinitdata smp_b_stepping;
  
  #if defined(CONFIG_NUMA) && defined(CONFIG_X86_32)
  
@@@ -257,6 -257,7 +257,7 @@@ static void __cpuinit smp_callin(void
        end_local_APIC_setup();
        map_cpu_to_logical_apicid();
  
+       notify_cpu_starting(cpuid);
        /*
         * Get our bogomips.
         *
@@@ -1313,13 -1314,16 +1314,13 @@@ __init void prefill_possible_map(void
        if (!num_processors)
                num_processors = 1;
  
 -#ifdef CONFIG_HOTPLUG_CPU
        if (additional_cpus == -1) {
                if (disabled_cpus > 0)
                        additional_cpus = disabled_cpus;
                else
                        additional_cpus = 0;
        }
 -#else
 -      additional_cpus = 0;
 -#endif
 +
        possible = num_processors + additional_cpus;
        if (possible > NR_CPUS)
                possible = NR_CPUS;