lkml.org 
[lkml]   [2003]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH][2.5] Don't schedule tasks on offline cpus
On Mon, 17 Feb 2003, Ingo Molnar wrote:

>
> On Mon, 17 Feb 2003, Zwane Mwaikambo wrote:
>
> > We don't want to allow a cpu going offline to keep doing scheduler work
> > so let it exit early, otherwise we'd keep pulling in tasks every timer
> > tick.
>
> i'd rather have all the hotplug CPU code to do this kind of stuff
> completely out of line. Start up a max-RT-priority housekeeping task and
> just clean the runqueue and deregister the CPU in one atomic pass - look
> at how the migration threads do similar stuff. No need to contaminate
> various codepaths with 'is this CPU online' checks.

Ok for this we'll have to move the task migration down till after the cpu
has gone completely offline ie dead, then pull the tasks off the dead
runqueue. I'm not aware of any ill effects of such a move.

Zwane
--
function.linuxpower.ca
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.645 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site