diff options
author | Joe Perches <[email protected]> | 2021-05-04 18:38:32 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2021-05-05 11:27:25 -0700 |
commit | 2521781c1ebc6d26b7fbe9b7e9614fd2f38affb5 (patch) | |
tree | 35c90cb8af6f3e0f61f49b9900cf0a2f3888f3b1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e8003bf66a7a66d8ae3db2c40b2dca180bf942bb (diff) |
mm/util.c: reduce mem_dump_obj() object size
Simplify the code by using a temporary and reduce the object size by
using a single call to pr_cont(). Reverse a test and unindent a block
too.
$ size mm/util.o* (defconfig x86-64)
text data bss dec hex filename
7419 372 40 7831 1e97 mm/util.o.new
7477 372 40 7889 1ed1 mm/util.o.old
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Joe Perches <[email protected]>
Reviewed-by: Andrew Morton <[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