aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGao Xiang <[email protected]>2018-12-28 00:33:34 -0800
committerLinus Torvalds <[email protected]>2018-12-28 12:11:46 -0800
commit20ff1c950500380c6f74ec1a0d6f4eafab673ef6 (patch)
tree917edac99a1ab31b2f643c796330315981f30480 /tools/perf/scripts/python
parent368686a95e55fd66b88542b5b23d802a4886b1aa (diff)
mm/readahead.c: simplify get_next_ra_size()
It's a trivial simplification for get_next_ra_size() and clear enough for humans to understand. It also fixes potential overflow if ra->size(< ra_pages) is too large. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Gao Xiang <[email protected]> Reviewed-by: Fengguang Wu <[email protected]> Reviewed-by: Matthew Wilcox <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions