Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336200
b: refs/heads/master
c: fd8ef11
h: refs/heads/master
v: v3
  • Loading branch information
Mike Galbraith authored and Linus Torvalds committed Dec 3, 2012
1 parent 904c309 commit b63eb8b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 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: d3594ea2b343fbbabaaebeb4ce4e1f29e88ab6b3
refs/heads/master: fd8ef11730f1d03d5d6555aa53126e9e34f52f12
4 changes: 0 additions & 4 deletions trunk/kernel/sched/auto_group.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,11 @@ autogroup_move_group(struct task_struct *p, struct autogroup *ag)

p->signal->autogroup = autogroup_kref_get(ag);

if (!ACCESS_ONCE(sysctl_sched_autogroup_enabled))
goto out;

t = p;
do {
sched_move_task(t);
} while_each_thread(p, t);

out:
unlock_task_sighand(p, &flags);
autogroup_kref_put(prev);
}
Expand Down
5 changes: 0 additions & 5 deletions trunk/kernel/sched/auto_group.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@
#include <linux/rwsem.h>

struct autogroup {
/*
* reference doesn't mean how many thread attach to this
* autogroup now. It just stands for the number of task
* could use this autogroup.
*/
struct kref kref;
struct task_group *tg;
struct rw_semaphore lock;
Expand Down

0 comments on commit b63eb8b

Please sign in to comment.