aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-10-13 10:23:15 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-10-13 10:23:15 -0400
commitfaafcba3b5e15999cf75d5c5a513ac8e47e2545f (patch)
tree47d58d1c00e650e820506c91eb9a41268756bdda /drivers/staging
parent13ead805c5a14b0e7ecd34f61404a5bfba655895 (diff)
parentf10e00f4bf360c36edbe6bf18a6c75b171cbe012 (diff)
Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull scheduler updates from Ingo Molnar: "The main changes in this cycle were: - Optimized support for Intel "Cluster-on-Die" (CoD) topologies (Dave Hansen) - Various sched/idle refinements for better idle handling (Nicolas Pitre, Daniel Lezcano, Chuansheng Liu, Vincent Guittot) - sched/numa updates and optimizations (Rik van Riel) - sysbench speedup (Vincent Guittot) - capacity calculation cleanups/refactoring (Vincent Guittot) - Various cleanups to thread group iteration (Oleg Nesterov) - Double-rq-lock removal optimization and various refactorings (Kirill Tkhai) - various sched/deadline fixes ... and lots of other changes" * 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (72 commits) sched/dl: Use dl_bw_of() under rcu_read_lock_sched() sched/fair: Delete resched_cpu() from idle_balance() sched, time: Fix build error with 64 bit cputime_t on 32 bit systems sched: Improve sysbench performance by fixing spurious active migration sched/x86: Fix up typo in topology detection x86, sched: Add new topology for multi-NUMA-node CPUs sched/rt: Use resched_curr() in task_tick_rt() sched: Use rq->rd in sched_setaffinity() under RCU read lock sched: cleanup: Rename 'out_unlock' to 'out_free_new_mask' sched: Use dl_bw_of() under RCU read lock sched/fair: Remove duplicate code from can_migrate_task() sched, mips, ia64: Remove __ARCH_WANT_UNLOCKED_CTXSW sched: print_rq(): Don't use tasklist_lock sched: normalize_rt_tasks(): Don't use _irqsave for tasklist_lock, use task_rq_lock() sched: Fix the task-group check in tg_has_rt_tasks() sched/fair: Leverage the idle state info when choosing the "idlest" cpu sched: Let the scheduler see CPU idle states sched/deadline: Fix inter- exclusive cpusets migrations sched/deadline: Clear dl_entity params when setscheduling to different class sched/numa: Kill the wrong/dead TASK_DEAD check in task_numa_fault() ...
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c3
-rw-r--r--drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c1
-rw-r--r--drivers/staging/lustre/lustre/libcfs/fail.c1
3 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c b/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c
index 86f1a91e896f..14c9c8d18d02 100644
--- a/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c
+++ b/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c
@@ -3215,7 +3215,6 @@ kiblnd_connd (void *arg)
3215 3215
3216 schedule_timeout(timeout); 3216 schedule_timeout(timeout);
3217 3217
3218 set_current_state(TASK_RUNNING);
3219 remove_wait_queue(&kiblnd_data.kib_connd_waitq, &wait); 3218 remove_wait_queue(&kiblnd_data.kib_connd_waitq, &wait);
3220 spin_lock_irqsave(&kiblnd_data.kib_connd_lock, flags); 3219 spin_lock_irqsave(&kiblnd_data.kib_connd_lock, flags);
3221 } 3220 }
@@ -3432,7 +3431,6 @@ kiblnd_scheduler(void *arg)
3432 busy_loops = 0; 3431 busy_loops = 0;
3433 3432
3434 remove_wait_queue(&sched->ibs_waitq, &wait); 3433 remove_wait_queue(&sched->ibs_waitq, &wait);
3435 set_current_state(TASK_RUNNING);
3436 spin_lock_irqsave(&sched->ibs_lock, flags); 3434 spin_lock_irqsave(&sched->ibs_lock, flags);
3437 } 3435 }
3438 3436
@@ -3507,7 +3505,6 @@ kiblnd_failover_thread(void *arg)
3507 3505
3508 rc = schedule_timeout(long_sleep ? cfs_time_seconds(10) : 3506 rc = schedule_timeout(long_sleep ? cfs_time_seconds(10) :
3509 cfs_time_seconds(1)); 3507 cfs_time_seconds(1));
3510 set_current_state(TASK_RUNNING);
3511 remove_wait_queue(&kiblnd_data.kib_failover_waitq, &wait); 3508 remove_wait_queue(&kiblnd_data.kib_failover_waitq, &wait);
3512 write_lock_irqsave(glock, flags); 3509 write_lock_irqsave(glock, flags);
3513 3510
diff --git a/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c b/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c
index bcfee7c21942..d29f5f134b89 100644
--- a/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c
+++ b/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c
@@ -2232,7 +2232,6 @@ ksocknal_connd (void *arg)
2232 nloops = 0; 2232 nloops = 0;
2233 schedule_timeout(timeout); 2233 schedule_timeout(timeout);
2234 2234
2235 set_current_state(TASK_RUNNING);
2236 remove_wait_queue(&ksocknal_data.ksnd_connd_waitq, &wait); 2235 remove_wait_queue(&ksocknal_data.ksnd_connd_waitq, &wait);
2237 spin_lock_bh(connd_lock); 2236 spin_lock_bh(connd_lock);
2238 } 2237 }
diff --git a/drivers/staging/lustre/lustre/libcfs/fail.c b/drivers/staging/lustre/lustre/libcfs/fail.c
index 1bf9c90b4789..e73ca3df9734 100644
--- a/drivers/staging/lustre/lustre/libcfs/fail.c
+++ b/drivers/staging/lustre/lustre/libcfs/fail.c
@@ -131,7 +131,6 @@ int __cfs_fail_timeout_set(__u32 id, __u32 value, int ms, int set)
131 id, ms); 131 id, ms);
132 set_current_state(TASK_UNINTERRUPTIBLE); 132 set_current_state(TASK_UNINTERRUPTIBLE);
133 schedule_timeout(cfs_time_seconds(ms) / 1000); 133 schedule_timeout(cfs_time_seconds(ms) / 1000);
134 set_current_state(TASK_RUNNING);
135 CERROR("cfs_fail_timeout id %x awake\n", id); 134 CERROR("cfs_fail_timeout id %x awake\n", id);
136 } 135 }
137 return ret; 136 return ret;