From: Hugh Dickins <hugh@veritas.com>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: Roman Zippel <zippel@linux-m68k.org>,
linux-kernel@vger.kernel.org, kbuild-devel@lists.sourceforge.net
Subject: Re: CONFIG_HOTPLUG_CPU: kconfig bug?
Date: Mon, 27 Aug 2007 21:49:35 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.64.0708272143150.29594@blonde.wat.veritas.com> (raw)
In-Reply-To: <20070827172654.GA21871@uranus.ravnborg.org>
On Mon, 27 Aug 2007, Sam Ravnborg wrote:
> On Mon, Aug 27, 2007 at 03:54:49PM +0100, Hugh Dickins wrote:
> > Hi Roman,
> >
> > I've noticed an oddity with CONFIG_HOTPLUG_CPU in 2.6.23-rc:
> > make oldconfig seems to turn it on even when nothing wants it,
> > increasing kernel size by about 10k; but if you then edit the
> > line out of .config and make oldconfig again, it correctly
> > offers the choice and lets it be turned off after all.
> >
> > (I've not actually tried make anything_else_config.)
> >
> > Attached is a 2.6.23-rc1 i386 SMP .config, CONFIG_HOTPLUG_CPU
> > not set, with which it should be easy to reproduce the issue: just
> > make oldconfig in an -rc2 or current kernel tree (being sure to
> > choose N for SUSPEND and HIBERNATION: those rightly select it).
>
> I tried to reproduce this with no luck:
>
> $ mv hugh .config
> $ make
> scripts/kconfig/conf -s arch/i386/Kconfig
> *
> * Restart config...
> *
> *
> * Power management options (ACPI, APM)
> *
> Power Management support (PM) [Y/n/?] y
> Legacy Power Management API (DEPRECATED) (PM_LEGACY) [N/y/?] n
> Power Management Debug Support (PM_DEBUG) [N/y/?] n
> Suspend to RAM and standby (SUSPEND) [Y/n/?] (NEW) n <= I selected 'n'
> Hibernation (aka 'suspend to disk') (HIBERNATION) [N/y/?] (NEW) n <= I selected 'n'
> *
> * Fusion MPT device support
> *
> Fusion MPT ScsiHost drivers for SPI (FUSION_SPI) [Y/n/m/?] y
> Fusion MPT ScsiHost drivers for FC (FUSION_FC) [N/m/y/?] n
> Fusion MPT ScsiHost drivers for SAS (FUSION_SAS) [N/m/y/?] n
> Maximum number of scatter gather entries (16 - 128) (FUSION_MAX_SGE) [128] 128
> Fusion MPT misc device (ioctl) driver (FUSION_CTL) [N/m/y/?] n
> Fusion MPT logging facility (FUSION_LOGGING) [N/y/?] (NEW)
> #
> # configuration written to .config
> #
> CHK include/linux/version.h
> CHK include/linux/utsrelease.h
> make: *** [_all] Interrupt
>
> $ grep HOTPLUG_CPU .config
> # CONFIG_HOTPLUG_CPU is not set
>
> If you let kbuild do a silentoldconfig then I expect
> it to be set due to SUSPEND being set.
>
> If you can still reproduce it could you then explan the
> exect stepts to do so.
>
> PS. I used latest -linus as of yesterday.
Interesting, thanks a lot for trying. Doing it your way (saying
"make" without a preparatory "make oldconfig") gives me the same
result as you, CONFIG_HOTPLUG_CPU is not set. But doing it my way
("make oldconfig" as I indicated) gives me CONFIG_HOTPLUG_CPU=y as
before - please try an explicit "make oldconfig" and I expect
you'll find the same.
Hugh
next prev parent reply other threads:[~2007-08-27 20:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-27 14:54 Hugh Dickins
2007-08-27 17:26 ` Sam Ravnborg
2007-08-27 20:49 ` Hugh Dickins [this message]
2007-08-29 18:01 ` Sam Ravnborg
2007-08-30 3:06 ` Roman Zippel
2007-08-30 12:40 ` Hugh Dickins
2007-08-30 18:48 ` Rafael J. Wysocki
2007-08-30 21:06 ` Hugh Dickins
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=Pine.LNX.4.64.0708272143150.29594@blonde.wat.veritas.com \
--to=hugh@veritas.com \
--cc=kbuild-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@ravnborg.org \
--cc=zippel@linux-m68k.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®