public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ben Collins <ben.collins@ubuntu.com>
To: Dominik Brodowski <linux@dominikbrodowski.net>
Cc: Ben Collins <bcollins@ubuntu.com>,
	davej@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 03/15] powernow-k7: Work when kernel is compiled for SMP
Date: Wed, 04 Jan 2006 17:32:06 -0500	[thread overview]
Message-ID: <1136413927.4430.35.camel@grayson> (raw)
In-Reply-To: <20060104222618.GA24376@isilmar.linta.de>

On Wed, 2006-01-04 at 23:26 +0100, Dominik Brodowski wrote:
> On Wed, Jan 04, 2006 at 04:59:31PM -0500, Ben Collins wrote:
> > On a UP system with SMP compiled kernel, the powernow-k7 module would not
> > initialize (returned -ENODEV). Not sure why policy->cpu != 0 for UP
> >
> > Signed-off-by: Ben Collins <bcollins@ubuntu.com>
> 
> May the smp_processor_id() be != 0 on _true_ UP on SMP? What happens if (using
> virtual CPU hotplug) the module is modprobe'd with one CPU online, and then
> the second CPU becomes online later?

That's why there is num_possible_cpus() checked aswell. That's supposed
to report possible hotplug cpu's, even if not plugged, correct?

-- 
   Ben Collins <ben.collins@ubuntu.com>
   Developer
   Ubuntu Linux


  reply	other threads:[~2006-01-04 22:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-04 21:59 [PATCH 03/15] powernow-k7: Work when kernel is compiled for SMP Ben Collins
2006-01-04 22:26 ` Dominik Brodowski
2006-01-04 22:32   ` Ben Collins [this message]
2006-01-05 22:32     ` Dominik Brodowski

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=1136413927.4430.35.camel@grayson \
    --to=ben.collins@ubuntu.com \
    --cc=bcollins@ubuntu.com \
    --cc=davej@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@dominikbrodowski.net \
    /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