aboutsummaryrefslogtreecommitdiff
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2016-05-09 10:38:01 +0200
committerIngo Molnar <[email protected]>2016-09-30 10:54:07 +0200
commit0e369d757578b23ac50b893f920aa50fdbc45fb6 (patch)
tree54dec53189e66f17883f73e2010250fbc9c24cc4 /include/linux/sched.h
parent24fc7edb92eea05946119cc0258c891c26b3b469 (diff)
sched/core: Replace sd_busy/nr_busy_cpus with sched_domain_shared
Move the nr_busy_cpus thing from its hacky sd->parent->groups->sgc location into the much more natural sched_domain_shared location. Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 8a878b9649a1..98888f1a03bc 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1069,6 +1069,7 @@ struct sched_group;
struct sched_domain_shared {
atomic_t ref;
+ atomic_t nr_busy_cpus;
};
struct sched_domain {