Commit 7b912104 authored by Adrian Freund's avatar Adrian Freund Committed by Jonathan Corbet

Documentation: scheduler: fix outdated information on sched groups

The documentation claims that two sched groups must not overlap. This is
no longer true, as overlapping sched groups are used on NUMA systems.
This change has been introduced by commit e3589f6c and was
documented by an in-code comment in commit 35a566e6.
Signed-off-by: default avatarAdrian Freund <adrian@freund.io>
Link: https://lore.kernel.org/r/20200407130525.76663-1-adrian@freund.ioSigned-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 5af438d0
...@@ -19,10 +19,12 @@ CPUs". ...@@ -19,10 +19,12 @@ CPUs".
Each scheduling domain must have one or more CPU groups (struct sched_group) Each scheduling domain must have one or more CPU groups (struct sched_group)
which are organised as a circular one way linked list from the ->groups which are organised as a circular one way linked list from the ->groups
pointer. The union of cpumasks of these groups MUST be the same as the pointer. The union of cpumasks of these groups MUST be the same as the
domain's span. The intersection of cpumasks from any two of these groups domain's span. The group pointed to by the ->groups pointer MUST contain the CPU
MUST be the empty set. The group pointed to by the ->groups pointer MUST to which the domain belongs. Groups may be shared among CPUs as they contain
contain the CPU to which the domain belongs. Groups may be shared among read only data after they have been set up. The intersection of cpumasks from
CPUs as they contain read only data after they have been set up. any two of these groups may be non empty. If this is the case the SD_OVERLAP
flag is set on the corresponding scheduling domain and its groups may not be
shared between CPUs.
Balancing within a sched domain occurs between groups. That is, each group Balancing within a sched domain occurs between groups. That is, each group
is treated as one entity. The load of a group is defined as the sum of the is treated as one entity. The load of a group is defined as the sum of the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment