LKML Archive on
help / color / mirror / Atom feed
From: Justin Banks <>
To: Bill Davidsen <>
Cc: Justin Banks <>,
	"Miller, Mike (OS Dev)" <>,
Subject: Re: FW: Linux question
Date: Fri, 7 Mar 2008 12:13:43 -0700	[thread overview]
Message-ID: <20080307191343.GB4703@bleen.domain.actdsltmp> (raw)
In-Reply-To: <>

Bill Davidsen wrote
> Justin Banks wrote:
> > Miller, Mike (OS Dev) wrote
> >> Is there a way in to limit the kernel to seeing only the cores on a
> >> single processor and ignore all other processor cores (eg. leave
> >> them in HALT)?
> > 
> > Can't you just echo 0 into /sys/devices/system/cpu/cpuN/online where the
> > /sys/devices/system/cpu/cpuN/topology/physical_package_id isn't the one
> > you want to keep online?
> > 
> Here's an interesting question, why isn't there an "online" file for 
> each CPU?

I've noticed that as well, and I'm not sure. IIRC, on some systems I've
seen there's an online file for every CPU, but on my laptop (2.6.22
Intel Mac) there isn't one for cpu0, just as in your example.


Justin Banks
BakBone Software

  reply	other threads:[~2008-03-07 19:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-06 19:33 Miller, Mike (OS Dev)
2008-03-06 19:51 ` Cyrill Gorcunov
2008-03-06 20:38 ` Justin Banks
2008-03-07 18:43   ` Bill Davidsen
2008-03-07 19:13     ` Justin Banks [this message]
2008-03-07 19:14     ` Andi Kleen
2008-03-08 17:07       ` Bill Davidsen

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080307191343.GB4703@bleen.domain.actdsltmp \ \ \ \ \
    --subject='Re: FW: Linux question' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).