linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Lameter <cl@linux-foundation.org>
To: Randy Dunlap <rdunlap@xenotime.net>
Cc: Giangiacomo Mariotti <gg.mariotti@gmail.com>,
	Pekka Enberg <penberg@cs.helsinki.fi>,
	Bill Davidsen <davidsen@tmr.com>,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: Possible bug in 2.6.34 slub
Date: Tue, 1 Jun 2010 14:48:58 -0500 (CDT)	[thread overview]
Message-ID: <alpine.DEB.2.00.1006011445100.9438@router.home> (raw)
In-Reply-To: <20100601123959.747228c6.rdunlap@xenotime.net>

On Tue, 1 Jun 2010, Randy Dunlap wrote:

> > >>> My cpu is an I7 920, so it has 4 cores and there's hyperthreading
> > >>> enabled, so there are 8 logical cpus. Is this a bug?

Yes its a bug in the arch code or BIOS. The system configuration tells us
that there are more possible cpus and therefore the system prepares for
the additional cpus to be activated at some later time.

> Sorry, I think that I misread your report.
> It does look like misinformation.
> Let's cc Christoph Lameter & Pekka.
>
>
> > The point is, I guess(didn't actually look at the code), if that's
> > just the count of MAX number of cpus supported, which is a config time
> >  define and then the actual count gets refined afterwards by slub
> > too(because I know that the rest of the kernel knows I've got 4
> > cores/8 logical cpus) or not. Is that it? If this is not the case(that
> > is, it's not a static define used as a MAX value), then I can't see
> > what kind of boot/init time info it is. If it's a boot-time info, it
> > just means it's a _wrong_ boot-time info.

No that is the max nr of cpus possible on this machine. The count is
determined by hardware capabilities on bootup. If they are not detected
in the right way then you have the erroneous display (and the system
configures useless per cpu structures to support nonexistent cpus).

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2010-06-01 19:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <AANLkTimEFy6VM3InWlqhVooQjKGSD3yBxlgeRbQC2r1L@mail.gmail.com>
     [not found] ` <20100531165528.35a323fb.rdunlap@xenotime.net>
     [not found]   ` <4C047CF9.9000804@tmr.com>
     [not found]     ` <AANLkTilLq-hn59CBcLnOsnT37ZizQR6MrZX6btKPhfpb@mail.gmail.com>
2010-06-01 19:39       ` Randy Dunlap
2010-06-01 19:48         ` Christoph Lameter [this message]
2010-06-01 21:11           ` Giangiacomo Mariotti
2010-06-01 21:27             ` Christoph Lameter
2010-06-03  6:51           ` Pekka Enberg
2010-06-03 13:34             ` Christoph Lameter
2010-06-04 18:39               ` Giangiacomo Mariotti
2010-06-07 22:35                 ` Christoph Lameter

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=alpine.DEB.2.00.1006011445100.9438@router.home \
    --to=cl@linux-foundation.org \
    --cc=davidsen@tmr.com \
    --cc=gg.mariotti@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=penberg@cs.helsinki.fi \
    --cc=rdunlap@xenotime.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