aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorWen Yang <[email protected]>2020-01-13 16:29:29 -0800
committerLinus Torvalds <[email protected]>2020-01-13 18:19:02 -0800
commit0a5d1a7f64702c351d1f47ef159a0df8c71be0b0 (patch)
treeea7c0f98755658d1bff26684fac3957d2b3b2251 /tools/perf/scripts/python/exported-sql-viewer.py
parentd3ac946ec9de10ec4b9718ad30703c5e077916a1 (diff)
mm/page-writeback.c: improve arithmetic divisions
Use div64_ul() instead of do_div() if the divisor is unsigned long, to avoid truncation to 32-bit on 64-bit platforms. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Wen Yang <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Cc: Qian Cai <[email protected]> Cc: Tejun Heo <[email protected]> Cc: Jens Axboe <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions