[folded-merged] arm64-hugetlb-implement-arm64-specific-hugetlb_mask_last_page-fix.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The quilt patch titled
     Subject: arm64-hugetlb-implement-arm64-specific-hugetlb_mask_last_page-fix
has been removed from the -mm tree.  Its filename was
     arm64-hugetlb-implement-arm64-specific-hugetlb_mask_last_page-fix.patch

This patch was dropped because it was folded into arm64-hugetlb-implement-arm64-specific-hugetlb_mask_last_page.patch

------------------------------------------------------
From: Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx>
Subject: arm64-hugetlb-implement-arm64-specific-hugetlb_mask_last_page-fix
Date: Mon, 27 Jun 2022 13:55:37 +0800

I missed the case that '__PAGETABLE_PMD_FOLDED', was defined, which PUD is
same with PMD.

Link: https://lkml.kernel.org/r/a14e7b39-6a8a-4609-b4a1-84ac574f5c96@xxxxxxxxxxxxxxxxx
Signed-off-by: Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx>
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/arm64/mm/hugetlbpage.c |    2 ++
 1 file changed, 2 insertions(+)

--- a/arch/arm64/mm/hugetlbpage.c~arm64-hugetlb-implement-arm64-specific-hugetlb_mask_last_page-fix
+++ a/arch/arm64/mm/hugetlbpage.c
@@ -373,8 +373,10 @@ unsigned long hugetlb_mask_last_page(str
 	unsigned long hp_size = huge_page_size(h);
 
 	switch (hp_size) {
+#ifndef __PAGETABLE_PMD_FOLDED
 	case PUD_SIZE:
 		return PGDIR_SIZE - PUD_SIZE;
+#endif
 	case CONT_PMD_SIZE:
 		return PUD_SIZE - CONT_PMD_SIZE;
 	case PMD_SIZE:
_

Patches currently in -mm which might be from baolin.wang@xxxxxxxxxxxxxxxxx are

arm64-hugetlb-implement-arm64-specific-hugetlb_mask_last_page.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux