aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMiaohe Lin <[email protected]>2022-04-28 23:16:14 -0700
committerakpm <[email protected]>2022-04-28 23:16:14 -0700
commit3c9fe8b8f5e3e30bfa81eeeff4bc34c0fb67b739 (patch)
treef6a07150f94cb5db7b0128f0825d10c508459c16 /tools/perf/scripts/python/exported-sql-viewer.py
parentf433195679a9639a3af5be03bcb9c3d933e3b261 (diff)
mm/mremap: avoid unneeded do_munmap call
When old_len == new_len, do_munmap will return -EINVAL due to len == 0. This errno will be simply ignored because of old_len != new_len check. So it is unnecessary to call do_munmap when old_len == new_len because nothing is actually done. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Miaohe Lin <[email protected]> Acked-by: David Hildenbrand <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions