lkml.org 
[lkml]   [2002]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] 2.4.18 scheduler bugs
Date
>> - reschedule_idle() - smp_send_reschedule when setting idle's need_resched
>>
>> Idle tasks nowdays don't spin waiting for need->resched to change,
>> they sleep on a halt insn instead. Therefore any setting of
>> need->resched on an idle task running on a remote CPU should be
>> accompanied by a cross-processor interrupt.
>
> this is broken as well. Check out the idle=poll feature i wrote some time
> ago.

The idle=poll stuff is a hack. I'd like my idle cpus to sleep and still
have them wake up the moment work for them becomes available. I see no
reason why an idle cpu should be forced to remain idle until the next
tick, nor why fixing that should be considered `broken'.

Joe

-
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:24    [W:0.058 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site