The patch titled sched-fix-smt-nice-lock-contention-and-optimization-tidy has been removed from the -mm tree. Its filename is sched-fix-smt-nice-lock-contention-and-optimization-tidy.patch This patch was dropped because it was folded into sched-fix-smt-nice-lock-contention-and-optimization.patch ------------------------------------------------------ Subject: sched-fix-smt-nice-lock-contention-and-optimization-tidy From: Andrew Morton <akpm@xxxxxxxx> Cc: "Chen, Kenneth W" <kenneth.w.chen@xxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxx> Cc: Con Kolivas <kernel@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- kernel/sched.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff -puN kernel/sched.c~sched-fix-smt-nice-lock-contention-and-optimization-tidy kernel/sched.c --- a/kernel/sched.c~sched-fix-smt-nice-lock-contention-and-optimization-tidy +++ a/kernel/sched.c @@ -1099,9 +1099,10 @@ static int sched_balance_self(int cpu, i struct task_struct *t = current; struct sched_domain *tmp, *sd = NULL; - for_each_domain(cpu, tmp) + for_each_domain(cpu, tmp) { if (tmp->flags & flag) sd = tmp; + } while (sd) { cpumask_t span; @@ -2375,10 +2376,11 @@ static void active_load_balance(runqueue double_lock_balance(busiest_rq, target_rq); /* Search for an sd spanning us and the target CPU. */ - for_each_domain(target_cpu, sd) + for_each_domain(target_cpu, sd) { if ((sd->flags & SD_LOAD_BALANCE) && cpu_isset(busiest_cpu, sd->span)) break; + } if (unlikely(sd == NULL)) goto out; @@ -2722,11 +2724,13 @@ static void wake_sleeping_dependent(int struct sched_domain *tmp, *sd = NULL; int i; - for_each_domain(this_cpu, tmp) + for_each_domain(this_cpu, tmp) { if (tmp->flags & SD_SHARE_CPUPOWER) { sd = tmp; break; } + } + if (!sd) return; @@ -2768,11 +2772,13 @@ static int dependent_sleeper(int this_cp if (!p->mm || rt_task(p)) return 0; - for_each_domain(this_cpu, tmp) + for_each_domain(this_cpu, tmp) { if (tmp->flags & SD_SHARE_CPUPOWER) { sd = tmp; break; } + } + if (!sd) return 0; @@ -6171,7 +6177,7 @@ void normalize_rt_tasks(void) runqueue_t *rq; read_lock_irq(&tasklist_lock); - for_each_process (p) { + for_each_process(p) { if (!rt_task(p)) continue; _ Patches currently in -mm which might be from akpm@xxxxxxxx are origin.patch pm_trace-is-bust.patch catch-notification-of-memory-add-event-of-acpi-via-container-driver-register-start-func-for-memory-device.patch catch-notification-of-memory-add-event-of-acpi-via-container-driveravoid-redundant-call-add_memory.patch pgdat-allocation-for-new-node-add-export-kswapd-start-func.patch i386-moving-phys_proc_id-and-cpu_core_id-to-cpuinfo_x86.patch vdso-randomize-the-i386-vdso-by-moving-it-into-a-vma.patch load_module-cleanup.patch cpu-hotplug-make-cpu_notifier-related-notifier-calls-__cpuinit-only.patch sched-fix-smt-nice-lock-contention-and-optimization.patch sched-fix-smt-nice-lock-contention-and-optimization-tidy.patch swap_prefetch-vs-zoned-counters.patch pi-futex-rt-mutex-tester-fix.patch rtmutex-propagate-priority-settings-into-pi-lock-chains-fix.patch mark-address_space_operations-const-vs-ecryptfs-mmap-operations.patch ecryptfs-alpha-build-fix.patch ecryptfs-more-elegant-aes-key-size-manipulation-tidy.patch ecryptfs-get_sb_dev-fix.patch namespaces-add-nsproxy-dont-include-compileh.patch namespaces-utsname-switch-to-using-uts-namespaces-alpha-fix.patch namespaces-utsname-use-init_utsname-when-appropriate-cifs-update.patch namespaces-utsname-implement-utsname-namespaces-export.patch namespaces-utsname-implement-utsname-namespaces-dont-include-compileh.patch namespaces-utsname-sysctl-hack-cleanup-2-fix.patch ipc-namespace-core-fix.patch task-watchers-task-watchers-tidy.patch task-watchers-add-support-for-per-task-watchers-warning-fix.patch readahead-sysctl-parameters-fix.patch make-copy_from_user_inatomic-not-zero-the-tail-on-i386-vs-reiser4.patch reiser4-hardirq-include-fix.patch reiser4-run-truncate_inode_pages-in-reiser4_delete_inode.patch reiser4-get_sb_dev-fix.patch reiser4-vs-zoned-allocator.patch hpt3xx-rework-rate-filtering-tidy.patch genirq-rename-desc-handler-to-desc-chip-power-fix.patch genirq-rename-desc-handler-to-desc-chip-ia64-fix.patch genirq-rename-desc-handler-to-desc-chip-ia64-fix-2.patch genirq-rename-desc-handler-to-desc-chip-terminate_irqs-fix.patch genirq-ia64-build-fix.patch lockdep-irqtrace-subsystem-x86_64-support-fix.patch srcu-rcu-variant-permitting-read-side-blocking-fixes.patch srcu-add-srcu-operations-to-rcutorture-fix.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html