mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] kconfig.debug for 2.6.8
@ 2004-08-14 18:05 Randy.Dunlap
  2004-08-15  7:13 ` Sam Ravnborg
  0 siblings, 1 reply; 3+ messages in thread
From: Randy.Dunlap @ 2004-08-14 18:05 UTC (permalink / raw)
  To: lkml; +Cc: akpm


Here's the Kconfig.debug patch updated for 2.6.8:

  http://developer.osdl.org/rddunlap/kconfig/kconfig-debug-268.patch


Localize Kconfig debug options into one file (lib/Kconfig.debug)
for easier maintenance, searching, and menu-building.

Updated to 2.6.8.

Summary of changes:

. 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
  and FRAME_POINTER for some instances of it (if it's freely
  user-selectable) but not for the cases where it's forced or
  it depends on some other options.
. adds DEBUG_KERNEL requirement to some DEBUG_vars;
. remove KALLSYMS from S390-specific kernel hacking menu;
  use KALLSYMS in the EMBEDDED menu instead;
. add CRIS and M68KNOMMU symbols for use in lib/Kconfig.debug;
. eliminate duplicate "General setup" labels in sparc64 config;
. whitespace cleanup;
. fixed a few trival typos;


Portions of the original patch were also done by
Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>

 arch/alpha/Kconfig           |  104 ---------------------------
 arch/alpha/Kconfig.debug     |   59 +++++++++++++++
 arch/arm/Kconfig             |  163 -------------------------------------------
 arch/arm/Kconfig.debug       |  115 ++++++++++++++++++++++++++++++
 arch/arm26/Kconfig           |  117 ------------------------------
 arch/arm26/Kconfig.debug     |   60 +++++++++++++++
 arch/cris/Kconfig            |   56 +-------------
 arch/cris/Kconfig.debug      |   28 +++++++
 arch/h8300/Kconfig           |   75 -------------------
 arch/h8300/Kconfig.debug     |   68 +++++++++++++++++
 arch/i386/Kconfig            |  148 ++-------------------------------------
 arch/i386/Kconfig.debug      |   58 +++++++++++++++
 arch/ia64/Kconfig            |  114 ------------------------------
 arch/ia64/Kconfig.debug      |   64 ++++++++++++++++
 arch/m68k/Kconfig            |   43 -----------
 arch/m68k/Kconfig.debug      |    5 +
 arch/m68knommu/Kconfig       |   66 +----------------
 arch/m68knommu/Kconfig.debug |   42 +++++++++++
 arch/mips/Kconfig            |  146 ++------------------------------------
 arch/mips/Kconfig.debug      |   76 ++++++++++++++++++++
 arch/parisc/Kconfig          |   70 ------------------
 arch/parisc/Kconfig.debug    |   14 +++
 arch/ppc/Kconfig             |  131 +---------------------------------
 arch/ppc/Kconfig.debug       |   72 ++++++++++++++++++
 arch/ppc64/Kconfig           |   98 -------------------------
 arch/ppc64/Kconfig.debug     |   57 +++++++++++++++
 arch/s390/Kconfig            |   65 +----------------
 arch/s390/Kconfig.debug      |    5 +
 arch/sh/Kconfig              |  162 +-----------------------------------------
 arch/sh/Kconfig.debug        |  124 ++++++++++++++++++++++++++++++++
 arch/sh64/Kconfig            |   50 -------------
 arch/sh64/Kconfig.debug      |   37 +++++++++
 arch/sparc/Kconfig           |   78 --------------------
 arch/sparc/Kconfig.debug     |   14 +++
 arch/sparc64/Kconfig         |  109 ----------------------------
 arch/sparc64/Kconfig.debug   |   44 +++++++++++
 arch/um/Kconfig              |   73 +------------------
 arch/um/Kconfig.debug        |   39 ++++++++++
 arch/v850/Kconfig            |   32 --------
 arch/v850/Kconfig.debug      |   10 ++
 arch/x86_64/Kconfig          |  134 ++++-------------------------------
 arch/x86_64/Kconfig.debug    |   56 ++++++++++++++
 init/Kconfig                 |    3 
 lib/Kconfig.debug            |  100 ++++++++++++++++++++++++++
 44 files changed, 1241 insertions(+), 1943 deletions(-)

--

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] kconfig.debug for 2.6.8
  2004-08-14 18:05 [PATCH] kconfig.debug for 2.6.8 Randy.Dunlap
@ 2004-08-15  7:13 ` Sam Ravnborg
  2004-08-15  7:14   ` Andrew Morton
  0 siblings, 1 reply; 3+ messages in thread
From: Sam Ravnborg @ 2004-08-15  7:13 UTC (permalink / raw)
  To: Randy.Dunlap, Andrew Morton; +Cc: lkml, akpm

On Sat, Aug 14, 2004 at 11:05:22AM -0700, Randy.Dunlap wrote:
> 
> Here's the Kconfig.debug patch updated for 2.6.8:
> 
>   http://developer.osdl.org/rddunlap/kconfig/kconfig-debug-268.patch

Hi Andrew.

Any good way we can bring this patch forward?
Currently it causes 9 rejects in -mm, and I understand why you are not
inclined to fix that up.

I can see clashes with at least LOCKMETER, SCHEDSTATS and KGDB in -mm.

Would it be better to divide it in smaller parts?
o lib/Kconfig.debug
o i386 specific changes
o ia64 specific changes
o architectures that do not cause rejects in -mm + -vanilla
o etc.

The rejects may still be present, but make it easier to pick what
applies, and drop the rest for now.

Along the lines of Kconfig.drivers - but hopefully introduced a bit faster.

        Sam

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] kconfig.debug for 2.6.8
  2004-08-15  7:13 ` Sam Ravnborg
@ 2004-08-15  7:14   ` Andrew Morton
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Morton @ 2004-08-15  7:14 UTC (permalink / raw)
  To: Sam Ravnborg; +Cc: rddunlap, linux-kernel

Sam Ravnborg <sam@ravnborg.org> wrote:
>
> On Sat, Aug 14, 2004 at 11:05:22AM -0700, Randy.Dunlap wrote:
>  > 
>  > Here's the Kconfig.debug patch updated for 2.6.8:
>  > 
>  >   http://developer.osdl.org/rddunlap/kconfig/kconfig-debug-268.patch
> 
>  Hi Andrew.
> 
>  Any good way we can bring this patch forward?
>  Currently it causes 9 rejects in -mm, and I understand why you are not
>  inclined to fix that up.

Yeah, it's painful.  I'd be inclined to base it against -linus and then fix
up the individual -mm patches.  It's a matter of finding a suitable time
window in which to do that.   I'll take a shot at it tomorrow.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-08-15  7:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-14 18:05 [PATCH] kconfig.debug for 2.6.8 Randy.Dunlap
2004-08-15  7:13 ` Sam Ravnborg
2004-08-15  7:14   ` Andrew Morton

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®