From: Dominik Brodowski <linux@dominikbrodowski.net>
To: Ben Collins <ben.collins@ubuntu.com>
Cc: davej@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 03/15] powernow-k7: Work when kernel is compiled for SMP
Date: Thu, 5 Jan 2006 23:32:54 +0100 [thread overview]
Message-ID: <20060105223254.GA11346@isilmar.linta.de> (raw)
In-Reply-To: <1136413927.4430.35.camel@grayson>
On Wed, Jan 04, 2006 at 05:32:06PM -0500, Ben Collins wrote:
> 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?
Yes, sure. Sorry...
Dominik
prev parent reply other threads:[~2006-01-05 22:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-04 21:59 Ben Collins
2006-01-04 22:26 ` Dominik Brodowski
2006-01-04 22:32 ` Ben Collins
2006-01-05 22:32 ` Dominik Brodowski [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=20060105223254.GA11346@isilmar.linta.de \
--to=linux@dominikbrodowski.net \
--cc=ben.collins@ubuntu.com \
--cc=davej@redhat.com \
--cc=linux-kernel@vger.kernel.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®