diff options
author | Ingo Molnar <[email protected]> | 2012-08-04 21:21:14 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2012-08-05 12:37:14 +0200 |
commit | 1d17d17484d40f2d5b35c79518597a2b25296996 (patch) | |
tree | a11000cb9a7197b5d70573d0faa417cb36ba0e4b /tools/perf/util/trace-event-scripting.c | |
parent | e7882d6c40874a5b5033ca85f7508a602a60b662 (diff) |
time: Fix adjustment cleanup bug in timekeeping_adjust()
Tetsuo Handa reported that sporadically the system clock starts
counting up too quickly which is enough to confuse the hangcheck
timer to print a bogus stall warning.
Commit 2a8c0883 "time: Move xtime_nsec adjustment underflow handling
timekeeping_adjust" overlooked this exit path:
} else
return;
which should really be a proper exit sequence, fixing the bug as a
side effect.
Also make the flow more readable by properly balancing curly
braces.
Reported-by: Tetsuo Handa <[email protected]> wrote:
Tested-by: Tetsuo Handa <[email protected]> wrote:
Signed-off-by: Ingo Molnar <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions