]> git.baikalelectronics.ru Git - kernel.git/commit
mm/huge_memory: use helper touch_pud in huge_pud_set_accessed
authorMiaohe Lin <linmiaohe@huawei.com>
Mon, 4 Jul 2022 13:21:49 +0000 (21:21 +0800)
committerakpm <akpm@linux-foundation.org>
Mon, 18 Jul 2022 00:14:44 +0000 (17:14 -0700)
commit89403a1310a83def6d9614c6aa1d0c74984a25f7
treebff379a00b9d5d93e10330aa7d9aa965922e01af
parent0afc7fbae3301728743071d96a85196e202cbc8f
mm/huge_memory: use helper touch_pud in huge_pud_set_accessed

Use helper touch_pud to set pud accessed to simplify the code and improve
the readability. No functional change intended.

Link: https://lkml.kernel.org/r/20220704132201.14611-5-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>
mm/huge_memory.c