diff options
author | 2022-07-04 21:21:53 +0800 | |
---|---|---|
committer | 2022-07-17 17:14:45 -0700 | |
commit | 37139bb02c35bedb0c82bd21e7d1e695f5485465 (patch) | |
tree | 16afafb5817f5a26f659e5c4a46b61410590b8f3 /mm/shrinker_debug.c | |
parent | mm/huge_memory: use helper function vma_lookup in split_huge_pages_pid (diff) | |
download | wireguard-linux-37139bb02c35bedb0c82bd21e7d1e695f5485465.tar.xz wireguard-linux-37139bb02c35bedb0c82bd21e7d1e695f5485465.zip |
mm/huge_memory: use helper macro __ATTR_RW
Use helper macro __ATTR_RW to define use_zero_page_attr, defrag_attr and
enabled_attr to make code more clear. Minor readability improvement.
Link: https://lkml.kernel.org/r/20220704132201.14611-9-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