lkml.org 
[lkml]   [2007]   [Oct]   [4]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 04 Oct 2007 01:33:52 -0400
FromCasey Dahlin <>
SubjectRe: Network slowdown due to CFS
Ingo Molnar wrote:
> * Jarek Poplawski <jarkao2@o2.pl> wrote:
> 
>> [...] (Btw, in -rc8-mm2 I see new sched_slice() function which seems 
>> to return... time.)
>> 
>
> wrong again. That is a function, not a variable to be cleared.

It still gives us a target time, so could we not simply have sched_yield 
put the thread completely to sleep for the given amount of time? It 
wholly redefines the operation, and its far more expensive (now there's 
a whole new timer involved) but it might emulate the expected behavior. 
Its hideous, but so is sched_yield in the first place, so why not?

--CJD
-
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: 2007-10-04 07:37    [from the cache]
©2003-2008