aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2009-04-29 14:44:49 +0200
committerIngo Molnar <[email protected]>2009-04-29 15:02:28 +0200
commitf5f293a4e3d0a0c52cec31de6762c95050156516 (patch)
treeb9dad5f4b1e834e414e825345b32fadd1ed6c01a /lib/string_helpers.c
parent56a50adda49b2020156616c4eb15353e0f9ad7de (diff)
sched: account system time properly
Andrew Gallatin reported that IRQ and SOFTIRQ times were sometime not reported correctly on recent kernels, and even bisected to commit 457533a7d3402d1d91fbc125c8bd1bd16dcd3cd4 ([PATCH] fix scaled & unscaled cputime accounting) as the first bad commit. Further analysis pointed that commit 79741dd35713ff4f6fd0eafd59fa94e8a4ba922d ([PATCH] idle cputime accounting) was the real cause of the problem. account_process_tick() was not taking into account timer IRQ interrupting the idle task servicing a hard or soft irq. On mostly idle cpu, irqs were thus not accounted and top or mpstat could tell user/admin that cpu was 100 % idle, 0.00 % irq, 0.00 % softirq, while it was not. [ Impact: fix occasionally incorrect CPU statistics in top/mpstat ] Reported-by: Andrew Gallatin <[email protected]> Re-reported-by: Andrew Morton <[email protected]> Signed-off-by: Eric Dumazet <[email protected]> Acked-by: Martin Schwidefsky <[email protected]> Cc: [email protected] Cc: [email protected] Cc: Paul Mackerras <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions