The patch titled Subject: linux-next-rejects-fix has been added to the -mm tree. Its filename is linux-next-rejects-fix.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/linux-next-rejects-fix.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/linux-next-rejects-fix.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: linux-next-rejects-fix Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/memcontrol.h | 1 - mm/page_alloc.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) --- a/include/linux/memcontrol.h~linux-next-rejects-fix +++ a/include/linux/memcontrol.h @@ -369,7 +369,6 @@ enum page_memcg_data_flags { #define MEMCG_DATA_FLAGS_MASK (__NR_MEMCG_DATA_FLAGS - 1) -static inline bool PageMemcgKmem(struct page *page); static inline bool folio_memcg_kmem(struct folio *folio); /* --- a/mm/page_alloc.c~linux-next-rejects-fix +++ a/mm/page_alloc.c @@ -1296,7 +1296,7 @@ static __always_inline bool free_pages_p * Do not let hwpoison pages hit pcplists/buddy * Untie memcg state and reset page's owner */ - if (memcg_kmem_enabled() && PageMemcgKmem(page)) + if (memcg_kmem_enabled() && folio_memcg_kmem(page_folio(page))) __memcg_kmem_uncharge_page(page, order); reset_page_owner(page, order); return false; @@ -1326,7 +1326,7 @@ static __always_inline bool free_pages_p } if (PageMappingFlags(page)) page->mapping = NULL; - if (memcg_kmem_enabled() && PageMemcgKmem(page)) + if (memcg_kmem_enabled() && folio_memcg_kmem(page_folio(page))) __memcg_kmem_uncharge_page(page, order); if (check_free) bad += check_free_page(page); _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm.patch mm-gup-fix-potential-pgmap-refcnt-leak-in-__gup_device_huge-fix.patch mm-gup-fix-potential-pgmap-refcnt-leak-in-__gup_device_huge-fix-fix.patch lazy-tlb-allow-lazy-tlb-mm-refcounting-to-be-configurable-fix.patch mm-compaction-optimize-proactive-compaction-deferrals-fix.patch mm-compaction-support-triggering-of-proactive-compaction-by-user-fix.patch mm-mempolicy-convert-from-atomic_t-to-refcount_t-on-mempolicy-refcnt-fix.patch mm-damon-implement-primitives-for-the-virtual-memory-address-spaces-fix.patch mm-damon-implement-a-debugfs-based-user-space-interface-fix.patch mm-damon-implement-a-debugfs-based-user-space-interface-fix-fix.patch fs-epoll-use-a-per-cpu-counter-for-users-watches-count-fix-fix.patch log-if-a-core-dump-is-aborted-due-to-changed-file-permissions-fix.patch linux-next-rejects.patch linux-next-rejects-fix.patch kernel-forkc-export-kernel_thread-to-modules.patch a.patch