From: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
To: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org
Subject: Re: [patch 0/4] Instrumentation menu removal, against 2.6.24-rc4-mm1 (mmotm)
Date: Mon, 10 Dec 2007 09:58:54 -0500 [thread overview]
Message-ID: <20071210145854.GC2082@Krystal> (raw)
In-Reply-To: <20071210094336.GB8437@in.ibm.com>
* Ananth N Mavinakayanahalli (ananth@in.ibm.com) wrote:
> On Mon, Dec 10, 2007 at 02:27:41PM +0530, Ananth N Mavinakayanahalli wrote:
> > On Sat, Dec 08, 2007 at 10:32:55AM -0500, Mathieu Desnoyers wrote:
> > > Hi Andrew,
> > >
> > > This time I am taking no chance :
> > >
> > > The instrumentation menu removal patchset here applies against 2.6.24-rc4-mm1
> > > _and_ against mmotm (dated : stamp-2007-12-05-15-24) without problem.
> > >
> > > We should hopefully be able to stop racing against other architecture specific
> > > fixes done underneath. Please be aware that the following fix :
> > >
> > > - fix-oprofile-configuration-breakage.patch
> > >
> > > from MIPS did not show up in your mmotm tree. I guess you just sent it upstream
> > > without keeping it in your own tree. I have applied the content of this fix in
> > > my patchset (meaning : select HAVE_OPROFILE if !MIPS_MT_SMTC in
> > > add-have-oprofile.patch), but I think you might have a reject if you still have
> > > this fix-oprofile-configuration-breakage.patch in your local tree but not in
> > > mmotm.
> >
> > Mathieu,
> >
> > With this patchset, a `make defconfig' results in:
> >
> > CONFIG_OPROFILE=y
> > CONFIG_HAVE_OPROFILE=y
> > CONFIG_KPROBES=y
> > CONFIG_HAVE_KPROBES=y
> >
> > You probably also need to change the defconfigs...
>
> Nevermind. If the intention is to key off the build based on CONFIG_<FOO>
> and have the CONFIG_HAVE_<FOO> settings just to make the config simpler,
> this change is fine. The side effect is just that the CONFIG_HAVE_<FOO>
> will still have default settings even when CONFIG_<FOO> is not set.
>
On x86_32, a diff between defconfig before and after the patchset :
97a98,103
> CONFIG_PROFILING=y
> # CONFIG_MARKERS is not set
> CONFIG_OPROFILE=y
> CONFIG_HAVE_OPROFILE=y
> CONFIG_KPROBES=y
> CONFIG_HAVE_KPROBES=y
1401,1405d1406
< CONFIG_INSTRUMENTATION=y
< CONFIG_PROFILING=y
< CONFIG_OPROFILE=y
< CONFIG_KPROBES=y
< # CONFIG_MARKERS is not set
Shows the same result. As you explain in your message, the HAVE_* is
just a way to know if the architecture provides a feature. The menu
entry is CONFIG_<FOO>, which depends on CONFIG_HAVE_<FOO>, will allow
y/n/m selection.
Mathieu
--
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
prev parent reply other threads:[~2007-12-10 14:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-08 15:32 [patch 0/4] Instrumentation menu removal, against 2.6.24-rc4-mm1 (mmotm) Mathieu Desnoyers
2007-12-08 15:32 ` [patch 1/4] Create arch/Kconfig Mathieu Desnoyers
2007-12-08 15:32 ` [patch 2/4] Add HAVE_OPROFILE Mathieu Desnoyers
2007-12-12 5:33 ` Andrew Morton
2007-12-08 15:32 ` [patch 3/4] Add HAVE_KPROBES Mathieu Desnoyers
2007-12-08 15:32 ` [patch 4/4] Move Kconfig.instrumentation to arch/Kconfig and init/Kconfig Mathieu Desnoyers
2007-12-12 5:37 ` Andrew Morton
2007-12-10 8:57 ` [patch 0/4] Instrumentation menu removal, against 2.6.24-rc4-mm1 (mmotm) Ananth N Mavinakayanahalli
2007-12-10 9:43 ` Ananth N Mavinakayanahalli
2007-12-10 14:58 ` Mathieu Desnoyers [this message]
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=20071210145854.GC2082@Krystal \
--to=mathieu.desnoyers@polymtl.ca \
--cc=akpm@linux-foundation.org \
--cc=ananth@in.ibm.com \
--cc=linux-kernel@vger.kernel.org \
/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