aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorBaoquan He <[email protected]>2022-06-07 18:59:56 +0800
committerakpm <[email protected]>2022-06-16 19:48:28 -0700
commit753df96be5d3a21cd70d8ab4f7464a868e1d2cb4 (patch)
tree2fae7e970250796232c873041ed5d75dee545df1 /tools/perf/scripts/python/bin/stackcollapse-record
parent1b23ff80b399ae4561bbfd45f7c9c98f62797304 (diff)
mm/vmalloc: remove the redundant boundary check
In find_va_links(), when traversing the vmap_area tree, the comparing to check if the passed in 'va' is above or below 'tmp_va' is redundant, assuming both 'va' and 'tmp_va' has ->va_start <= ->va_end. Here, to simplify the checking as code change. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Baoquan He <[email protected]> Reviewed-by: Uladzislau Rezki (Sony) <[email protected]> Cc: Christoph Hellwig <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions