public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Maneesh Soni <maneesh@in.ibm.com>
To: Linus Torvalds <torvalds@osdl.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
	venkatesh.pallipadi@intel.com, len.brown@intel.com,
	Andrew Morton <akpm@osdl.org>
Subject: Re: maxcpus=1 broken, ACPI bug?
Date: Fri, 18 Nov 2005 15:59:33 +0530	[thread overview]
Message-ID: <20051118102933.GA5687@in.ibm.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0511171137450.13959@g5.osdl.org>

On Thu, Nov 17, 2005 at 11:54:32AM -0800, Linus Torvalds wrote:
> 
> 
> On Thu, 17 Nov 2005, Maneesh Soni wrote:
> > 
> > Using maxcpus=1 boot option, hangs the system while booting. It was
> > working till 2.6.13-rc2. After git bisect I found that after backing
> > out this ACPI patch it works again, though I had to manually sort the
> > reject while backing out.
> > 
> > http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=acf05f4b7f558051ea0028e8e617144123650272
> 
> Hmm. That patch had a totally idiotic thinko in it (look at the for-loop 
> in acpi_processor_get_power_info_default() and notice how it doesn't 
> actually change anything in the loop).
> 
> That thinko was later fixed (albeit in a really stupid way, and the same 
> cut-and-paste bug still exists in acpi_processor_get_power_info_fadt()).
> 
> Anyway, can you test this diff? It
> 
>  (a) removes the insane (and in one case incorrect) memset loop
>  (b) makes the code that sets "pr->flags.power = 1" match the comment and 
>      the previous behaviour.
> 
> Does that make a difference?
> 

Yes, it works now. I just have to remove the declaration of "i" at
both the places to avoid compiler warnings.

Thanks a lot..
Maneesh

-- 
Maneesh Soni
Linux Technology Center, 
IBM India Software Labs,
Bangalore, India
email: maneesh@in.ibm.com
Phone: 91-80-25044990

  reply	other threads:[~2005-11-18 10:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-17  6:31 maxcpus=1 broken, ACPI bug? Maneesh Soni
2005-11-17 19:54 ` Linus Torvalds
2005-11-18 10:29   ` Maneesh Soni [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-11-17 14:31 Pallipadi, Venkatesh
2005-11-17 19:01 Maneesh Soni
2005-11-17 22:49 Pallipadi, Venkatesh

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=20051118102933.GA5687@in.ibm.com \
    --to=maneesh@in.ibm.com \
    --cc=akpm@osdl.org \
    --cc=len.brown@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    --cc=venkatesh.pallipadi@intel.com \
    /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