mm-re-allow-pinning-of-zero-pfns.patch removed from -mm tree
The quilt patch titled
Subject: mm: re-allow pinning of zero pfns
has been removed from the -mm tree. Its filename was
mm-re-allow-pinning-of-zero-pfns.patch
This patch was dropped because it was merged into the mm-hotfixes-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Alex Williamson <[email protected]>
Subject: mm: re-allow pinning of zero pfns
Date: Fri, 10 Jun 2022 16:35:13 -0600
The commit referenced below subtly and inadvertently changed the logic to disallow pinning of zero pfns. This breaks device assignment with vfio and potentially various other users of gup. Exclude the zero page test from the negation.
---
include/linux/mm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/mm.h renamed from include/linux/mm.h~mm-re-allow-pinning-of-zero-pfns +1 -1
@@ -1600,7 +1600,7 @@ static inline bool is_pinnable_page(struif (mt ==MIGRATE_CMA || mt ==MIGRATE_ISOLATE )return false;#endif -return !(is_zone_movable_page (page) ||is_zero_pfn (page_to_pfn (page))); +return !is_zone_movable_page (page) ||is_zero_pfn (page_to_pfn (page)); }#else static inline bool is_pinnable_page (struct page *page)
_
Patches currently in -mm which might be from [email protected] are