From: Andrew Morton <akpm@linux-foundation.org>
To: mm-commits@vger.kernel.org,ziy@nvidia.com,lkp@intel.com,akpm@linux-foundation.org,akpm@linux-foundation.org
Subject: [alternative-merged] mm-page_isolation-remove-migratetype-parameter-from-more-functions-fix-2.patch removed from -mm tree
Date: Fri, 09 May 2025 13:58:37 -0700 [thread overview]
Message-ID: <20250509205838.4893AC4CEE4@smtp.kernel.org> (raw)
The quilt patch titled
Subject: mm-page_isolation-remove-migratetype-parameter-from-more-functions-fix-2
has been removed from the -mm tree. Its filename was
mm-page_isolation-remove-migratetype-parameter-from-more-functions-fix-2.patch
This patch was dropped because an alternative patch was or shall be merged
------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: mm-page_isolation-remove-migratetype-parameter-from-more-functions-fix-2
Date: Fri May 9 01:48:29 PM PDT 2025
fix build warnings
> >> mm/page_isolation.c:18:20: warning: function 'get_pageblock_isolate' is not needed and will not be emitted [-Wunneeded-internal-declaration]
> 18 | static inline bool get_pageblock_isolate(struct page *page)
> | ^~~~~~~~~~~~~~~~~~~~~
> mm/page_isolation.c:28:20: warning: unused function 'set_pageblock_isolate' [-Wunused-function]
> 28 | static inline void set_pageblock_isolate(struct page *page)
> | ^~~~~~~~~~~~~~~~~~~~~
> 2 warnings generated.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202505092126.yRGhLhg1-lkp@intel.com/
Cc: Zi Yan <ziy@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/page_isolation.c | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
--- a/mm/page_isolation.c~mm-page_isolation-remove-migratetype-parameter-from-more-functions-fix-2
+++ a/mm/page_isolation.c
@@ -15,22 +15,19 @@
#define CREATE_TRACE_POINTS
#include <trace/events/page_isolation.h>
+#ifdef CONFIG_DEBUG_VM
static inline bool get_pageblock_isolate(struct page *page)
{
return get_pfnblock_flags_mask(page, page_to_pfn(page),
PB_migrate_isolate_bit);
}
+#endif
+
static inline void clear_pageblock_isolate(struct page *page)
{
set_pfnblock_flags_mask(page, 0, page_to_pfn(page),
PB_migrate_isolate_bit);
}
-static inline void set_pageblock_isolate(struct page *page)
-{
- set_pfnblock_flags_mask(page, PB_migrate_isolate_bit,
- page_to_pfn(page),
- PB_migrate_isolate_bit);
-}
/*
* This function checks whether the range [start_pfn, end_pfn) includes
_
Patches currently in -mm which might be from akpm@linux-foundation.org are
mm-debug-fix-parameter-passed-to-page_mapcount_is_type-fix.patch
vmalloc-switch-to-for_each_vmap_node-helper-fix.patch
mm-add-max-swappiness-arg-to-lru_gen-for-anonymous-memory-only-update-fix.patch
mm-selftests-add-a-test-to-verify-mmap_changing-race-with-eagain-checkpatch-fixes.patch
jfs-implement-migrate_folio-for-jfs_metapage_aops-fix-2.patch
mm-hugetlbc-__unmap_hugepage_range-comment-cleanup.patch
mm-establish-mm-vma_execc-for-shared-exec-mm-vma-functionality-fix.patch
mm-perform-vma-allocation-freeing-duplication-in-mm-fix.patch
filemap-do-not-use-folio_contains-for-swap-cache-folios-fix.patch
memcontrol-add-ksm_profit-in-cgroup-memoryksm_stat-fix.patch
mm-add-zblock-allocator-fix.patch
mm-add-zblock-allocator-fix-2.patch
mm-add-zblock-allocator-fix-3.patch
mm-zblock-avoid-failing-the-build-fix.patch
compiler_typesh-fix-unused-variable-in-__compiletime_assert-fix.patch
revert-x86-mm-remove-unused-__set_memory_prot-fix.patch
reply other threads:[~2025-05-09 20:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250509205838.4893AC4CEE4@smtp.kernel.org \
--to=akpm@linux-foundation.org \
--cc=lkp@intel.com \
--cc=mm-commits@vger.kernel.org \
--cc=ziy@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.