aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorMiaohe Lin <[email protected]>2021-02-24 12:09:22 -0800
committerLinus Torvalds <[email protected]>2021-02-24 13:38:34 -0800
commitc457cd96f18c7137287700c409d2ae16c6395256 (patch)
tree74773ceb5fb7d8d599ff97aa9bd2bb89bd2d2881 /tools/perf/scripts/python/mem-phys-addr.py
parent70ad3196a68b0857b49811da7a94ad4f5a8e75bb (diff)
z3fold: simplify the zhdr initialization code in init_z3fold_page()
We can simplify the zhdr initialization by memset() the zhdr first instead of set struct member to zero one by one. This would also make code more compact and clear. 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]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions