Skip to contentSkip to conversation

mm-proc-remove-redundant-page-validation-of-pte_page.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message May 10, 2022

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: fs/proc/task_mmu.c: remove redundant page validation of pte_page
has been removed from the -mm tree. Its filename was
mm-proc-remove-redundant-page-validation-of-pte_page.patch

This patch was dropped because it was merged into mm-stable

------------------------------------------------------
From: Xianting Tian <[email protected]>
Subject: fs/proc/task_mmu.c: remove redundant page validation of pte_page

pte_page() always returns a valid page, so remove the redundant page validation, as we did in many other places.

---

 fs/proc/task_mmu.c |    2 --
 1 file changed, 2 deletions(-)
fs/proc/task_mmu.c renamed from fs/proc/task_mmu.c~mm-proc-remove-redundant-page-validation-of-pte_page +0 -2
@@ -1873,8 +1873,6 @@ static int gather_hugetlb_stats(pte_t *p
 		return 0;
 
 	page = pte_page(huge_pte);
-	if (!page)
-		return 0;
 
 	md = walk->private;
 	gather_stats(page, md, pte_dirty(huge_pte), 1);

_

Patches currently in -mm which might be from [email protected] are