diff options
author | Venki Pallipadi <venkatesh.pallipadi@intel.com> | 2007-06-20 14:24:52 -0700 |
---|---|---|
committer | Willy Tarreau <w@1wt.eu> | 2007-08-25 17:24:21 +0200 |
commit | 1cf05c27a34048f768a3d9ea1410a28e71763587 (patch) | |
tree | 82fdd92f24ff050aa41f3994c5a70eef34a0a812 /fs/exec.c | |
parent | f06ce2d4e4cbcfed29967c3c9fc40d2ecbc615c6 (diff) |
[PATCH] CPUFREQ: ondemand: add a check to avoid negative load calculation
Due to rounding and inexact jiffy accounting, idle_ticks can sometimes
be higher than total_ticks. Make sure those cases are handled as
zero load case.
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'fs/exec.c')
0 files changed, 0 insertions, 0 deletions