aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorPiotr Kwapulinski <[email protected]>2015-06-24 16:58:39 -0700
committerLinus Torvalds <[email protected]>2015-06-24 17:49:45 -0700
commite37609bb36f706c954e82e580e2e790e9d5caef8 (patch)
tree59b5af0dc55b58fc8b4c0ce68507b3ee5afb687b /tools/perf/scripts/python/call-graph-from-postgresql.py
parent93ada579b0eea06f808aef08ead64bb230fb7851 (diff)
mm/mmap.c: optimization of do_mmap_pgoff function
The simple check for zero length memory mapping may be performed earlier. So that in case of zero length memory mapping some unnecessary code is not executed at all. It does not make the code less readable and saves some CPU cycles. Signed-off-by: Piotr Kwapulinski <[email protected]> Acked-by: Michal Hocko <[email protected]> Acked-by: Rik van Riel <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions