Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
kernel
/
sched
/
auto_group.c
diff --git
a/kernel/kernel/sched/auto_group.c
b/kernel/kernel/sched/auto_group.c
index
eae160d
..
750ed60
100644
(file)
--- a/
kernel/kernel/sched/auto_group.c
+++ b/
kernel/kernel/sched/auto_group.c
@@
-1,5
+1,3
@@
-#ifdef CONFIG_SCHED_AUTOGROUP
-
#include "sched.h"
#include <linux/proc_fs.h>
#include "sched.h"
#include <linux/proc_fs.h>
@@
-141,7
+139,7
@@
autogroup_move_group(struct task_struct *p, struct autogroup *ag)
p->signal->autogroup = autogroup_kref_get(ag);
p->signal->autogroup = autogroup_kref_get(ag);
- if (!
ACCESS
_ONCE(sysctl_sched_autogroup_enabled))
+ if (!
READ
_ONCE(sysctl_sched_autogroup_enabled))
goto out;
for_each_thread(p, t)
goto out;
for_each_thread(p, t)
@@
-249,5
+247,3
@@
int autogroup_path(struct task_group *tg, char *buf, int buflen)
return snprintf(buf, buflen, "%s-%ld", "/autogroup", tg->autogroup->id);
}
#endif /* CONFIG_SCHED_DEBUG */
return snprintf(buf, buflen, "%s-%ld", "/autogroup", tg->autogroup->id);
}
#endif /* CONFIG_SCHED_DEBUG */
-
-#endif /* CONFIG_SCHED_AUTOGROUP */