From: Dominik Brodowski <linux@dominikbrodowski.net>
To: Jason Baron <jbaron@redhat.com>, Greg KH <greg@kroah.com>
Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org,
joe@perches.com, nick@nick-andrew.net, randy.dunlap@oracle.com
Subject: Re: [PATCH 6/7] dynamic debug v2 - convert cpufreq
Date: Thu, 17 Jul 2008 23:27:15 +0200 [thread overview]
Message-ID: <20080717212714.GA12617@isilmar.linta.de> (raw)
In-Reply-To: <20080717211531.GA16569@kroah.com> <20080717210531.GA13252@redhat.com>
On Thu, Jul 17, 2008 at 02:15:31PM -0700, Greg KH wrote:
> On Thu, Jul 17, 2008 at 05:05:32PM -0400, Jason Baron wrote:
> > --- a/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
> > +++ b/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
> > @@ -25,6 +25,7 @@
> > * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > */
> >
> > +#include <linux/dynamic_debug_cpufreq.h>
> > #include <linux/kernel.h>
> > #include <linux/module.h>
> > #include <linux/init.h>
>
> kernel.h includes dynamic_debug.h right? Then why not just put the
> _cpufreq.h stuff in the current cpufreq.h file(s)?
Seconded. Makes the cpufreq-related patch even smaller, for we won't have to
touch all drivers.
On Thu, Jul 17, 2008 at 05:05:32PM -0400, Jason Baron wrote:
> > > +#if defined(CONFIG_CPU_FREQ_DEBUG) || defined (CONFIG_DYNAMIC_PRINTK_DEBUG)
> > ...
> > > +#if defined(CONFIG_CPU_FREQ_DEBUG) || defined (CONFIG_DYNAMIC_PRINTK_DEBUG)
> >
> > can't we just depend on thing on another?
> >
>
> We could make CONFIG_CPU_FREQ_DEBUG force CONFIG_DYNAMIC_PRINTK_DEBUG to be on.
> However, i'm trying to allow CONFIG_CPU_FREQ_DEBUG to be turned on without
> enabling CONFIG_DYNAMIC_PRINTK_DEBUG. That's consistent with how i'm trying to
> do this patch series. That is, individual subsystems can turn their respective
> debugging on without forcing on CONFIG_DYNAMIC_PRINTK_DEBUG.
Makes sense, and we can discuss depending one thing on another later on.
Looking forward to seeing this infrastructure merged. I guess it will help a
lot.
Best,
Dominik
next prev parent reply other threads:[~2008-07-17 21:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-15 21:36 Jason Baron
2008-07-15 23:07 ` Dominik Brodowski
2008-07-17 21:05 ` Jason Baron
2008-07-17 21:15 ` Greg KH
2008-07-17 21:27 ` Dominik Brodowski [this message]
2008-07-17 21:46 ` Jason Baron
2008-07-17 22:20 ` Dominik Brodowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080717212714.GA12617@isilmar.linta.de \
--to=linux@dominikbrodowski.net \
--cc=akpm@linux-foundation.org \
--cc=greg@kroah.com \
--cc=jbaron@redhat.com \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nick@nick-andrew.net \
--cc=randy.dunlap@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®