mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Hugh Dickins <hugh@veritas.com>
To: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>,
	Alexey Dobriyan <adobriyan@sw.ru>,
	torvalds@osdl.org, len.brown@intel.com, ak@suse.de,
	linux-kernel@vger.kernel.org
Subject: Re: 2.6.23-rc4: maxcpus still broken
Date: Wed, 29 Aug 2007 21:20:48 +0100 (BST)	[thread overview]
Message-ID: <Pine.LNX.4.64.0708292109330.20443@blonde.wat.veritas.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0708290546430.31816@blonde.wat.veritas.com>

On Wed, 29 Aug 2007, Hugh Dickins wrote:
> On Wed, 29 Aug 2007, Alexey Dobriyan wrote:
> > On Wed, Aug 29, 2007 at 01:35:57AM +0200, Michal Piotrowski wrote:
> > > On 28/08/07, Alexey Dobriyan <adobriyan@sw.ru> wrote:
> > > > Every time I try to boot with maxcpus=1 it dies show_stat():
> > > 
> > > Is this a regression?
> > 
> > yep
> 
> A regression since when, I wonder?  Please do NOT waste any time
> bisecting, but I'd be interested to know which release or -rc you
> previously found it worked on.

And thank you, you answered:
Anything before "ACPI: boot correctly with "nosmp" or "maxcpus=0"" is
fine.

Right, though that surprised me (and had me confused for a while,
I'd forgotten that I'd backported those mods into an earlier tree).

> 
> When I gave the code a quick look, it appeared to be something
> which has long been wrong;

So I was wrong about that.

> but I didn't investigate whether per-cpu
> allocation has changed recently.  My _suspicion_, no more than that,
> is that it might be a regression to you because you're now forced
> to have CONFIG_HOTPLUG_CPU=y where you didn't need it before.

Precisely the reverse: it only happens when CONFIG_HOTPLUG_CPU is
not set.  Which accounts for why I didn't see it when testing my
maxcpus=N fix, since I had CONFIG_HOTPLUG_CPU on at that time.

> 
> Anyway, it doesn't matter too much what it's a regression since:
> it's a bug that needs fixing whatever, and should be simple.

I've underestimated it, and done little beyond confuse myself today.
It'd be easy enough to fix, but there are probably about 20 different
ways, finding the right way is not so obvious to me.  I need to get
to understand it better tomorrow (unless someone beats me to it:
I know little of the possible, the present and the online myself).

Hugh

      parent reply	other threads:[~2007-08-29 20:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-28 11:14 Alexey Dobriyan
2007-08-28 23:35 ` Michal Piotrowski
2007-08-29  4:39   ` Alexey Dobriyan
2007-08-29  5:03     ` Hugh Dickins
2007-08-29  5:23       ` Alexey Dobriyan
2007-08-29  6:41         ` Len Brown
2007-08-29  7:25           ` Alexey Dobriyan
2007-08-31  3:26             ` [PATCH] fix maxcpus=1 oops in show_stat() Hugh Dickins
2007-08-31  4:33               ` Linus Torvalds
2007-08-31  7:37               ` Alexey Dobriyan
2007-08-29 20:20       ` Hugh Dickins [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=Pine.LNX.4.64.0708292109330.20443@blonde.wat.veritas.com \
    --to=hugh@veritas.com \
    --cc=adobriyan@gmail.com \
    --cc=adobriyan@sw.ru \
    --cc=ak@suse.de \
    --cc=len.brown@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michal.k.k.piotrowski@gmail.com \
    --cc=torvalds@osdl.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®