diff options
author | 2022-07-04 21:21:50 +0800 | |
---|---|---|
committer | 2022-07-17 17:14:45 -0700 | |
commit | a69e4717c62508ad5335e9bd56b1b6984a6b2b98 (patch) | |
tree | 19d4f7f06cf1589abc6a559a4b3b59d7adb9bfb6 /mm/shrinker_debug.c | |
parent | mm/huge_memory: use helper touch_pud in huge_pud_set_accessed (diff) | |
download | wireguard-linux-a69e4717c62508ad5335e9bd56b1b6984a6b2b98.tar.xz wireguard-linux-a69e4717c62508ad5335e9bd56b1b6984a6b2b98.zip |
mm/huge_memory: use helper touch_pmd in huge_pmd_set_accessed
Use helper touch_pmd to set pmd accessed to simplify the code and improve
the readability. No functional change intended.
Link: https://lkml.kernel.org/r/20220704132201.14611-6-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Yang Shi <shy828301@gmail.com>
Cc: Zach O'Keefe <zokeefe@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/shrinker_debug.c')
0 files changed, 0 insertions, 0 deletions