From 465a02478c277507377a2aa4deca292420770907 Mon Sep 17 00:00:00 2001 From: roynatech2544 Date: Sun, 24 Sep 2023 08:33:53 +0000 Subject: [PATCH] proc: task_mmu: Fix a wrong usage of `split_huge_pmd` --- fs/proc/task_mmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c index 9e17d920ae76..e93b109da7e7 100644 --- a/fs/proc/task_mmu.c +++ b/fs/proc/task_mmu.c @@ -1746,7 +1746,7 @@ static int reclaim_pte_range(pmd_t *pmd, unsigned long addr, int isolated; int reclaimed; - split_huge_pmd(vma, addr, pmd); + split_huge_pmd(vma, pmd, addr); if (pmd_trans_unstable(pmd) || !rp->nr_to_reclaim) return 0; cont: