LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Justin Banks <justinb@bakbone.com>
To: "Miller, Mike (OS Dev)" <Mike.Miller@hp.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: FW: Linux question
Date: Thu, 6 Mar 2008 13:38:41 -0700	[thread overview]
Message-ID: <20080306203841.GA4282@bleen.domain.actdsltmp> (raw)
In-Reply-To: <DEE40752C8AF224BB890E455C7B8E0FE042B84B112@G6W0268.americas.hpqcorp.net>

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?

-justinb

-- 
Justin Banks
BakBone Software
justinb@bakbone.com

  parent reply	other threads:[~2008-03-06 21:20 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 [this message]
2008-03-07 18:43   ` Bill Davidsen
2008-03-07 19:13     ` Justin Banks
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:
  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=20080306203841.GA4282@bleen.domain.actdsltmp \
    --to=justinb@bakbone.com \
    --cc=Mike.Miller@hp.com \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: FW: Linux question' \
    /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

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).