public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Srivatsa Vaddagiri <vatsa@in.ibm.com>
To: Zwane Mwaikambo <zwane@arm.linux.org.uk>
Cc: jayush luniya <jayu_11@yahoo.com>, linux-kernel@vger.kernel.org
Subject: Re: HOTPLUG CPU Support for SMT
Date: Tue, 31 May 2005 10:47:30 +0530	[thread overview]
Message-ID: <20050531051730.GA5845@in.ibm.com> (raw)
In-Reply-To: <Pine.LNX.4.61.0505301050141.12903@montezuma.fsmlabs.com>

On Mon, May 30, 2005 at 04:50:27PM +0000, Zwane Mwaikambo wrote:
> Yes, older 2.6-mm kernel (2.6.10-mm) trees have the "toy" i386 hotplug 
> cpu implementation which does what you want.

AFAIK in the i386 "toy" implementation, when a CPU is offlined, it stops
taking interrupts and stops running tasks, but it _still_ executes a while
loop in the context of its idle task (with IRQs disabled). The loop
is exited when we have to bring online the CPU again. What this means is 
I don't think by offlining the CPU, we are removing any activity associated
with the corresponding h/w thread. 

Maybe the toy implementation could be modified to take care of it? Something
like lowering the priority of the h/w thread so that it consumes minimal 
CPU resources to execute its while loop.

-- 


Thanks and Regards,
Srivatsa Vaddagiri,
Linux Technology Center,
IBM Software Labs,
Bangalore, INDIA - 560017

  reply	other threads:[~2005-05-31  5:17 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 [this message]
2005-05-31 14:34     ` Zwane Mwaikambo
2005-05-30 21:30 ` Rutger Nijlunsing

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=20050531051730.GA5845@in.ibm.com \
    --to=vatsa@in.ibm.com \
    --cc=jayu_11@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zwane@arm.linux.org.uk \
    /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