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:05 -0700
committerakpm <[email protected]>2022-04-28 23:16:05 -0700
commit5e36c25b2c1aeee16df21d5e4fef22d7ff2b80cf (patch)
treed34a03f89d7aad4218da29d60e94cda13e6c2d32 /tools/perf/scripts/python/exported-sql-viewer.py
parenta3148b5fea52d86b8d1c2445b09ca1033f29fdf0 (diff)
mm/z3fold: move decrement of pool->pages_nr into __release_z3fold_page()
The z3fold will always do atomic64_dec(&pool->pages_nr) when the __release_z3fold_page() is called. Thus we can move decrement of pool->pages_nr into __release_z3fold_page() to simplify the code. Also we can reduce the size of z3fold.o ~1k. Without this patch: text data bss dec hex filename 15444 1376 8 16828 41bc mm/z3fold.o With this patch: text data bss dec hex filename 15044 1248 8 16300 3fac mm/z3fold.o Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Miaohe Lin <[email protected]> Cc: Vitaly Wool <[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