[lkml]   [2007]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.6.21-mm2 - Kconfig horkage
On Wed, 09 May 2007 10:07:56 PDT, Christoph Lameter said:
> On Wed, 9 May 2007, wrote:
> > 1) Spotted in init/Kconfig:
> >
> > config SLUB_DEBUG
> > default y
> > bool "Enable SLUB debugging support" if EMBEDDED
> > help
> >
> > Shouldn't that have an 'default SLUB' or 'if SLUB' or something attached to it?
> Maybe. Is there a problem with SLUB_DEBUG being set if SLUB is not
> selected?

% egrep 'SL[AU]B' /usr/src/linux-2.6.21-mm2/.config
# CONFIG_SLUB_DEBUG is not set
# CONFIG_SLUB is not set
# CONFIG_DEBUG_SLAB is not set

Just seemed odd to do a 'make oldconfig' and get prompted for the value, and it
gave a value of 'Y' to a debug option of a feature that wasn't selected. :)

It took me a while to convince myself that somebody hadn't changed the default
to CONFIG_SLUB while I wasn't looking....

(Maybe the order of entries needs fixing - SLAB, SLAB_DEBUG, SLUB, SLUB_DEBUG,
so that oldconfig and friends don't pop the question for debugging till *after*
they ask if the feature should be included?
[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2007-05-09 19:19    [W:0.101 / U:1.432 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site