Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 125334
b: refs/heads/master
c: 1224e37
h: refs/heads/master
v: v3
  • Loading branch information
Rusty Russell authored and Ingo Molnar committed Nov 26, 2008
1 parent b8d2452 commit 4739c36
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3d8cbdf8650f44d95333ca645d950832a0653f35
refs/heads/master: 1224e376f2a7e3c7ab19ef37099a78597978a696
4 changes: 0 additions & 4 deletions trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -6126,8 +6126,6 @@ static int __migrate_task_irq(struct task_struct *p, int src_cpu, int dest_cpu)
*/
static void move_task_off_dead_cpu(int dead_cpu, struct task_struct *p)
{
unsigned long flags;
struct rq *rq;
int dest_cpu;
/* FIXME: Use cpumask_of_node here. */
cpumask_t _nodemask = node_to_cpumask(cpu_to_node(dead_cpu));
Expand All @@ -6146,10 +6144,8 @@ static void move_task_off_dead_cpu(int dead_cpu, struct task_struct *p)

/* No more Mr. Nice Guy. */
if (dest_cpu >= nr_cpu_ids) {
rq = task_rq_lock(p, &flags);
cpuset_cpus_allowed_locked(p, &p->cpus_allowed);
dest_cpu = cpumask_any_and(cpu_online_mask, &p->cpus_allowed);
task_rq_unlock(rq, &flags);

/*
* Don't tell them about moving exiting tasks or
Expand Down

0 comments on commit 4739c36

Please sign in to comment.