diff options
author | Arjan van de Ven <arjan@linux.intel.com> | 2008-09-08 01:08:55 +0200 |
---|---|---|
committer | Arjan van de Ven <arjan@linux.intel.com> | 2008-09-08 01:11:04 +0200 |
commit | 96d2ab484e7a9bafdab44b8c7d1ef5944319b18c (patch) | |
tree | 3938e40a4b70295d7318d6b14777d0f02004438d /kernel/profile.c | |
parent | hrtimer: show the timer ranges in /proc/timer_list (diff) | |
download | linux-96d2ab484e7a9bafdab44b8c7d1ef5944319b18c.tar.xz linux-96d2ab484e7a9bafdab44b8c7d1ef5944319b18c.zip |
hrtimer: fix signed/unsigned bug in slack estimator
the slack estimator used unsigned math; however for very short delay it's
possible that by the time you calculate the timeout, it's already passed and
you get a negative time/slack... in an unsigned variable... which then gets
turned into a 100 msec delay rather than zero.
This patch fixes this by using a signed typee in the right places.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions