lkml.org 
[lkml]   [1999]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: New schedule() and semaphore implementation ...
Date
Hi andrea,

>Apologies, I overlooked your patch.

I'm happy !!

>I suggest also to search on the list a patch that avoids recalculating
>counters on all tasks. It allows you to recalculate the counters only on
>the runqueue. So you could run gds_remove_task();gds_add_task()
>unconditionally in gds_switch().

I don't know if this is correct because of the new version of "up".
With the actual code waiting processes counter were incremented
taking a chance to exit from wait queue.
Anyway I agree with the fact that it will be faster.

>I suggest you also to move the
>slot-fields near the runqueue fields, so you may get them on the same
>cacheline while inserting/removing the task from the runqueue.

100 % Agree.

Cheers,
Davide.

--
"Debian, the Freedom in Freedom"



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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