From: Rutger Nijlunsing <rutger@nospam.com>
To: jayush luniya <jayu_11@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: HOTPLUG CPU Support for SMT
Date: Mon, 30 May 2005 23:30:42 +0200 [thread overview]
Message-ID: <20050530213042.GA6415@nospam.com> (raw)
In-Reply-To: <20050530152534.21912.qmail@web32806.mail.mud.yahoo.com>
On Mon, May 30, 2005 at 08:25:34AM -0700, jayush luniya wrote:
> Hi,
>
> I have been looking at the CONFIG_HOTPLUG_CPU option
> in the Linux Kernel. The option works for IA64, PPP64,
> S390 architectures. I am doing my research on SMT
> architecture and want to write a kernel module that
> can dynamically enable/disable SMT, so that I can
> switch between uniprocessor mode and SMT mode. So is
> it possible to use the CONFIG_HOTPLUG_CPU option to
> dynamically enable/disable a logical processor by
> performing a logical removal of the CPU since the
> hardware does not support CPU hotplugging? Also I
> would like to know how efficient such an
> implementation would be?
>
> I would really appreciate if anyone could provide me
> suggestions and any specific patches related to this
> work.
An easy way would be to use sched_setaffinity() and bind all processes
to one processor.
--
Rutger Nijlunsing
prev parent reply other threads:[~2005-05-30 21:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-30 15:25 HOTPLUG CPU Support for SMT jayush luniya
2005-05-30 16:51 ` Zwane Mwaikambo
2005-05-31 5:17 ` Srivatsa Vaddagiri
2005-05-31 14:34 ` Zwane Mwaikambo
2005-05-30 21:30 ` Rutger Nijlunsing [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=20050530213042.GA6415@nospam.com \
--to=rutger@nospam.com \
--cc=jayu_11@yahoo.com \
--cc=linux-kernel@tux.tmfweb.nl \
--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