mm-constify-page_count-and-page_ref_count.patch removed from -mm tree
The patch titled
Subject: mm: constify page_count and page_ref_count
has been removed from the -mm tree. Its filename was
mm-constify-page_count-and-page_ref_count.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: "Matthew Wilcox (Oracle)" <[email protected]>
Subject: mm: constify page_count and page_ref_count
Now that compound_head() accepts a const struct page pointer, these two functions can be marked as not modifying the page pointer they are passed.
Signed-off-by Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by Vlastimil Babka <[email protected]>
Reviewed-by Anshuman Khandual <[email protected]>
Reviewed-by William Kucharski <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
include/linux/page_ref.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/page_ref.h renamed from include/linux/page_ref.h~mm-constify-page_count-and-page_ref_count +2 -2
@@ -62,12 +62,12 @@ static inline void __page_ref_unfreeze(s#endif -static inline int page_ref_count (struct page *page) +static inline int page_ref_count (const struct page *page) {return atomic_read (&page->_refcount); } -static inline int page_count (struct page *page) +static inline int page_count (const struct page *page) {return atomic_read (&compound_head (page)->_refcount); }
_
Patches currently in -mm which might be from [email protected] are
mm-mark-idle-page-tracking-as-broken.patch