summaryrefslogtreecommitdiffstats
path: root/.rustfmt.toml
diff options
context:
space:
mode:
authorRuan Jinjie <ruanjinjie@huawei.com>2023-08-03 13:38:23 +0200
committerAndrew Morton <akpm@linux-foundation.org>2023-08-21 22:37:38 +0200
commit73d4719363371afdcd63143c3532fa6a9443de13 (patch)
tree62850e20330101f84e9380f329aab6989249cd1c /.rustfmt.toml
parentDocs/admin-guide/mm/damon/usage: update for DAMON monitoring target type DAMO... (diff)
downloadlinux-73d4719363371afdcd63143c3532fa6a9443de13.tar.xz
linux-73d4719363371afdcd63143c3532fa6a9443de13.zip
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/20230803113824.886413-1-ruanjinjie@huawei.com Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com> Reviewed-by: Miaohe Lin <linmiaohe@huawei.com> Cc: Vitaly Wool <vitaly.wool@konsulko.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions