mm-hugetlb-check-for-pte-null-pointer-in-__page_check_address.patch removed from -mm tree
Subsystems (2)
[email protected]
maintainerSubject: [merged] mm-hugetlb-check-for-pte-null-pointer-in-__page_check_address.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Thu, 19 Dec 2013 11:54:09 -0800
The patch titled
Subject: mm/hugetlb: check for pte NULL pointer in __page_check_address()
has been removed from the -mm tree. Its filename was
mm-hugetlb-check-for-pte-null-pointer-in-__page_check_address.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Jianguo Wu <[email protected]>
Subject: mm/hugetlb: check for pte NULL pointer in __page_check_address()
In __page_check_address(), if address's pud is not present, huge_pte_offset() will return NULL, we should check the return value.
---
mm/rmap.c | 4 ++++ 1 file changed, 4 insertions(+)
mm/rmap.c renamed from mm/rmap.c~mm-hugetlb-check-for-pte-null-pointer-in-__page_check_address +4 -0
@@ -600,7 +600,11 @@ pte_t *__page_check_address(struct pagespinlock_t *ptl;if (unlikely (PageHuge (page))) { +/* when pud is not present, pte will be NULL */ pte =huge_pte_offset (mm, address); +if (!pte) +return NULL ; + ptl =huge_pte_lockptr (page_hstate (page), mm, pte); goto check; }
_
Patches currently in -mm which might be from [email protected] are
origin.patch