aboutsummaryrefslogtreecommitdiff
path: root/Documentation/scheduler/sched-domains.txt
diff options
context:
space:
mode:
authorGautham R Shenoy <ego@in.ibm.com>2008-05-29 12:36:18 +0530
committerIngo Molnar <mingo@elte.hu>2008-06-06 15:19:39 +0200
commite29c98d12b3f02d6ac711c60b4a5f8a46d1cf19b (patch)
tree6c310ec5baee472762bcb637084180aedf3f0673 /Documentation/scheduler/sched-domains.txt
parent6d6bc0ad867c46896d0994bb039e7550ecb9b51d (diff)
sched: update the sched-domains debug documentation
SCHED_DOMAIN_DEBUG mentioned in the Documentation for sched-domains for enabling sched-domains debugging doesn't exist anymore. Update the documentation to reflect the correct way of enabling sched-domain debugging. Signed-off-by: Gautham R Shenoy <ego@in.ibm.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation/scheduler/sched-domains.txt')
-rw-r--r--Documentation/scheduler/sched-domains.txt7
1 files changed, 2 insertions, 5 deletions
diff --git a/Documentation/scheduler/sched-domains.txt b/Documentation/scheduler/sched-domains.txt
index a9e990ab980..373ceacc367 100644
--- a/Documentation/scheduler/sched-domains.txt
+++ b/Documentation/scheduler/sched-domains.txt
@@ -61,10 +61,7 @@ builder by #define'ing ARCH_HASH_SCHED_DOMAIN, and exporting your
arch_init_sched_domains function. This function will attach domains to all
CPUs using cpu_attach_domain.
-Implementors should change the line
-#undef SCHED_DOMAIN_DEBUG
-to
-#define SCHED_DOMAIN_DEBUG
-in kernel/sched.c as this enables an error checking parse of the sched domains
+The sched-domains debugging infrastructure can be enabled by enabling
+CONFIG_SCHED_DEBUG. This enables an error checking parse of the sched domains
which should catch most possible errors (described above). It also prints out
the domain structure in a visual format.