From: "Randy.Dunlap" <rddunlap@osdl.org>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-kernel@vger.kernel.org, akpm@osdl.org
Subject: Re: [PATCH] Kconfig.debug: combine Kconfig debug options
Date: Tue, 27 Jul 2004 10:47:37 -0700 [thread overview]
Message-ID: <20040727104737.0de2da5b.rddunlap@osdl.org> (raw)
In-Reply-To: <Pine.GSO.4.58.0407271451130.19529@waterleaf.sonytel.be>
On Tue, 27 Jul 2004 14:55:39 +0200 (MEST) Geert Uytterhoeven wrote:
| On Fri, 23 Jul 2004, Randy.Dunlap wrote:
| > . localizes the following symbols in lib/Kconfig.debug:
| > DEBUG_KERNEL, MAGIC_SYSRQ, DEBUG_SLAB, DEBUG_SPINLOCK,
| > DEBUG_SPINLOCK_SLEEP, DEBUG_HIGHMEM, DEBUG_BUGVERBOSE,
| > DEBUG_INFO
|
| Which architecture does _not_ use DEBUG_KERNEL or DEBUG_SLAB? The list is quite
| long... Aren't these generic?
Looks like all of them use DEBUG_KERNEL.
DEBUG_SLAB is not available in cris, h8300, m68knommu, sh, sh64,
or v850 AFAICT. Yes/no ?
| Perhaps DEBUG_SPINLOCK can depend on just SMP only? Or do people want
| to debug spinlock code on machines that don't have SMP?
Yes, sounds good, I'll change that.
|
| Perhaps DEBUG_HIGHMEM can depend on just HIGHMEM only?
Yes, will change that one also.
| (didn't check the whole list) Perhaps the first instance of DEBUG_INFO
| can depend on !SUPERH64 && !USERMODE only?
It could. It depends on one's config (or code/patch) philosophy.
I was trying to be explicit about which arches support a config option
by including each arch in a list ("inclusion"). Or I could exclude
certain arches from config options ("exclusion"). The inclusion
method seems safer and more readable/maintainable to me, but that's
just one opinion.
--
~Randy
next prev parent reply other threads:[~2004-07-27 18:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-24 6:11 Randy.Dunlap
2004-07-27 12:55 ` Geert Uytterhoeven
2004-07-27 17:47 ` Randy.Dunlap [this message]
2004-07-27 19:02 ` Paul Mundt
2004-07-27 20:14 ` Randy.Dunlap
2004-07-27 21:29 ` Geert Uytterhoeven
2004-07-28 16:08 ` Randy.Dunlap
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=20040727104737.0de2da5b.rddunlap@osdl.org \
--to=rddunlap@osdl.org \
--cc=akpm@osdl.org \
--cc=geert@linux-m68k.org \
--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
all inboxes | Powered by JetHome®