aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAndrea Arcangeli <[email protected]>2016-05-20 16:58:24 -0700
committerLinus Torvalds <[email protected]>2016-05-20 17:58:30 -0700
commit5f527c2b3ea261bfccb7d12f9feade924cc4987c (patch)
tree280af3a27eff695bdf9275bb4e69aa474638c6b8 /tools/perf/scripts/python/export-to-postgresql.py
parent7b8da4c7f0777489f8690115b5fd7704ac0abb8f (diff)
mm: thp: microoptimize compound_mapcount()
compound_mapcount() is only called after PageCompound() has already been checked by the caller, so there's no point to check it again. Gcc may optimize it away too because it's inline but this will remove the runtime check for sure and add it'll add an assert instead. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Andrea Arcangeli <[email protected]> Acked-by: Kirill A. Shutemov <[email protected]> Cc: Alex Williamson <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions