diff options
| author | Ruan Jinjie <[email protected]> | 2023-08-03 19:38:23 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-08-21 13:37:38 -0700 |
| commit | 73d4719363371afdcd63143c3532fa6a9443de13 (patch) | |
| tree | 62850e20330101f84e9380f329aab6989249cd1c /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 41a7ed8cfd54d85adbb5f48cd3673dd7ff0eb450 (diff) | |
mm/z3fold: use helper function put_z3fold_locked() and put_z3fold_locked_list()
This code is already duplicated six times, use helper function
put_z3fold_locked() to release z3fold page instead of open code it to help
improve code readability a bit. And add put_z3fold_locked_list() helper
function to be consistent with it. No functional change involved.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ruan Jinjie <[email protected]>
Reviewed-by: Miaohe Lin <[email protected]>
Cc: Vitaly Wool <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions