diff options
author | Steven Rostedt (VMware) <[email protected]> | 2017-02-24 14:59:24 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2017-02-24 17:46:56 -0800 |
commit | 517663edd6b5d2a822469885994f34e092e2cf9f (patch) | |
tree | f7c566f5810e5580084977a21cab72833aaed5ed /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | c137a2757b88658ce61c74b25ff650ecda7f09d8 (diff) |
mm/page-writeback.c: place "not" inside of unlikely() statement in wb_domain_writeout_inc()
The likely/unlikely profiler noticed that the unlikely statement in
wb_domain_writeout_inc() is constantly wrong. This is due to the "not"
(!) being outside the unlikely statement. It is likely that
dom->period_time will be set, but unlikely that it wont be. Move the
not into the unlikely statement.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions