Re: Real Time Runqueue

From: Davide Libenzi (davidel@xmailserver.org)
Date: Fri Nov 16 2001 - 19:13:57 EST


On Fri, 16 Nov 2001, Jesse Pollard wrote:

> I believe we opted to leave all process in the queues to speed up the
> state change procedures. The selection process was always at the end of

I believe in that too, expecially if a good RT tasks distribution is
achieved.

> I always liked the trick of converting the bit vector to a floating point to
> use the exponent to determine the active queue - it took far fewer instructions
> than a loop to check each queue in an array. The added overhead when doing

Smart trick but by doing it in Linux needs you to get the fpu status
before doing the fp op otherwise you're going to do the fpu status
save/restore each time.

- Davide

-
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/



This archive was generated by hypermail 2b29 : Fri Nov 23 2001 - 21:00:15 EST