All of lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Helt <krzysztof.h1@wp.pl>
To: sparclinux@vger.kernel.org
Subject: Re: NR_CPUS and kernel 2.4.30 for sparc64
Date: Wed, 25 May 2005 22:44:36 +0000	[thread overview]
Message-ID: <4294FFD4.2080403@wp.pl> (raw)
In-Reply-To: <4294E414.80003@wp.pl>

David S. Miller wrote:
> You must set CONFIG_NR_CPUS to one plus the largest "physical cpu"
> number in your machine if you want all processors to be detected
> properly.  In your case, the correct setting would be 3.
> 
> 
> 

This works differnetly than on sparc32 kernel (it works there).

I thought about the second condition from my previous post (elimnation 
of last cpu from the list of cpus). As far as I can see,  the max_cpus 
is always equal to NR_CPUS (is it true?). If so, the second condition is 
redudant (cpucount is always < NR_CPUS).



  reply	other threads:[~2005-05-25 22:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-25 20:46 NR_CPUS and kernel 2.4.30 for sparc64 Krzysztof Helt
2005-05-25 22:44 ` Krzysztof Helt [this message]
2005-05-25 23:37 ` Chris Newport
2005-05-25 23:37 ` Ben Collins

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=4294FFD4.2080403@wp.pl \
    --to=krzysztof.h1@wp.pl \
    --cc=sparclinux@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.