diff options
author | Richard Braun <rbraun@sceen.net> | 2013-03-11 21:53:50 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2013-03-11 21:53:50 +0100 |
commit | d8e380acacb138c46036e2bbb14e2c155e14691c (patch) | |
tree | 7583e12ae8cb5ad1798cb506001d2123a4bfa6a1 /kern/kernel.c | |
parent | 7f4202118e6ff217ad159420224663ce146a498d (diff) |
kern/thread: optimize round tracking
Instead of maintaining two separate round values, one of which is always the
other plus one, maintain a single integer for both the active and expired
run queues. In addition, improve overflow handling by using signed
subtraction when comparing round values.
Diffstat (limited to 'kern/kernel.c')
0 files changed, 0 insertions, 0 deletions