* [PATCH] sched: update the sched-domains debug documentation
@ 2008-05-29 7:06 Gautham R Shenoy
2008-06-02 11:01 ` Ingo Molnar
0 siblings, 1 reply; 2+ messages in thread
From: Gautham R Shenoy @ 2008-05-29 7:06 UTC (permalink / raw)
To: Ingo Molnar, suresh.b.siddha; +Cc: linux-kernel, Peter Zijlstra
Author: Gautham R Shenoy <ego@in.ibm.com>
Date: Thu May 29 12:33:15 2008 +0530
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>
diff --git a/Documentation/scheduler/sched-domains.txt b/Documentation/scheduler/sched-domains.txt
index a9e990a..373ceac 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.
--
Thanks and Regards
gautham
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] sched: update the sched-domains debug documentation
2008-05-29 7:06 [PATCH] sched: update the sched-domains debug documentation Gautham R Shenoy
@ 2008-06-02 11:01 ` Ingo Molnar
0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2008-06-02 11:01 UTC (permalink / raw)
To: Gautham R Shenoy; +Cc: suresh.b.siddha, linux-kernel, Peter Zijlstra
* Gautham R Shenoy <ego@in.ibm.com> wrote:
> Author: Gautham R Shenoy <ego@in.ibm.com>
> Date: Thu May 29 12:33:15 2008 +0530
>
> 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>
applied to tip/sched-devel - thanks Gautham.
Ingo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-02 11:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-29 7:06 [PATCH] sched: update the sched-domains debug documentation Gautham R Shenoy
2008-06-02 11:01 ` Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox