diff options
Diffstat (limited to 'mm/page_alloc.c')
| -rw-r--r-- | mm/page_alloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index c1069efcc4d7..4ce57f938b7f 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
| @@ -794,7 +794,7 @@ static inline int free_pages_check(struct page *page) | |||
| 794 | if (unlikely(page->mapping != NULL)) | 794 | if (unlikely(page->mapping != NULL)) |
| 795 | bad_reason = "non-NULL mapping"; | 795 | bad_reason = "non-NULL mapping"; |
| 796 | if (unlikely(page_ref_count(page) != 0)) | 796 | if (unlikely(page_ref_count(page) != 0)) |
| 797 | bad_reason = "nonzero _count"; | 797 | bad_reason = "nonzero _refcount"; |
| 798 | if (unlikely(page->flags & PAGE_FLAGS_CHECK_AT_FREE)) { | 798 | if (unlikely(page->flags & PAGE_FLAGS_CHECK_AT_FREE)) { |
| 799 | bad_reason = "PAGE_FLAGS_CHECK_AT_FREE flag(s) set"; | 799 | bad_reason = "PAGE_FLAGS_CHECK_AT_FREE flag(s) set"; |
| 800 | bad_flags = PAGE_FLAGS_CHECK_AT_FREE; | 800 | bad_flags = PAGE_FLAGS_CHECK_AT_FREE; |
| @@ -6864,7 +6864,7 @@ bool has_unmovable_pages(struct zone *zone, struct page *page, int count, | |||
| 6864 | * We can't use page_count without pin a page | 6864 | * We can't use page_count without pin a page |
| 6865 | * because another CPU can free compound page. | 6865 | * because another CPU can free compound page. |
| 6866 | * This check already skips compound tails of THP | 6866 | * This check already skips compound tails of THP |
| 6867 | * because their page->_count is zero at all time. | 6867 | * because their page->_refcount is zero at all time. |
| 6868 | */ | 6868 | */ |
| 6869 | if (!page_ref_count(page)) { | 6869 | if (!page_ref_count(page)) { |
| 6870 | if (PageBuddy(page)) | 6870 | if (PageBuddy(page)) |
