From: Andrew Morton <akpm@linux-foundation.org>
To: mm-commits@vger.kernel.org, vbabka@suse.cz,
torvalds@linux-foundation.org, rppt@kernel.org,
rostedt@goodmis.org, osalvador@suse.de,
mgorman@techsingularity.net, david@redhat.com, ziy@nvidia.com,
akpm@linux-foundation.org
Subject: [folded-merged] mm-wrap-__find_buddy_pfn-with-a-necessary-buddy-page-validation-v4.patch removed from -mm tree
Date: Tue, 26 Apr 2022 20:06:43 -0700 [thread overview]
Message-ID: <20220427030644.6CE51C385A4@smtp.kernel.org> (raw)
The patch titled
Subject: mm-wrap-__find_buddy_pfn-with-a-necessary-buddy-page-validation-v4
has been removed from the -mm tree. Its filename was
mm-wrap-__find_buddy_pfn-with-a-necessary-buddy-page-validation-v4.patch
This patch was dropped because it was folded into mm-wrap-__find_buddy_pfn-with-a-necessary-buddy-page-validation.patch
------------------------------------------------------
From: Zi Yan <ziy@nvidia.com>
Subject: mm-wrap-__find_buddy_pfn-with-a-necessary-buddy-page-validation-v4
updates per David
Link: https://lkml.kernel.org/r/20220401230804.1658207-2-zi.yan@sent.com
Link: https://lore.kernel.org/linux-mm/CAHk-=wji_AmYygZMTsPMdJ7XksMt7kOur8oDfDdniBRMjm4VkQ@mail.gmail.com/
Link: https://lkml.kernel.org/r/7236E7CA-B5F1-4C04-AB85-E86FA3E9A54B@nvidia.com
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Zi Yan <ziy@nvidia.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: David Hildenbrand <david@redhat.com>
Cc: Steven Rostedt (Google) <rostedt@goodmis.org>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Oscar Salvador <osalvador@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/internal.h | 4 ++--
mm/page_alloc.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
--- a/mm/internal.h~mm-wrap-__find_buddy_pfn-with-a-necessary-buddy-page-validation-v4
+++ a/mm/internal.h
@@ -252,7 +252,7 @@ static inline unsigned int buddy_order(s
* For recording page's order, we use page_private(page).
*/
static inline bool page_is_buddy(struct page *page, struct page *buddy,
- unsigned int order)
+ unsigned int order)
{
if (!page_is_guard(buddy) && !PageBuddy(buddy))
return false;
@@ -312,8 +312,8 @@ __find_buddy_pfn(unsigned long page_pfn,
static inline struct page *find_buddy_page_pfn(struct page *page,
unsigned long pfn, unsigned int order, unsigned long *buddy_pfn)
{
- struct page *buddy;
unsigned long __buddy_pfn = __find_buddy_pfn(pfn, order);
+ struct page *buddy;
buddy = page + (__buddy_pfn - pfn);
if (buddy_pfn)
--- a/mm/page_alloc.c~mm-wrap-__find_buddy_pfn-with-a-necessary-buddy-page-validation-v4
+++ a/mm/page_alloc.c
@@ -976,8 +976,8 @@ static inline bool
buddy_merge_likely(unsigned long pfn, unsigned long buddy_pfn,
struct page *page, unsigned int order)
{
- struct page *higher_page;
unsigned long higher_page_pfn;
+ struct page *higher_page;
if (order >= MAX_ORDER - 2)
return false;
_
Patches currently in -mm which might be from ziy@nvidia.com are
mm-page_alloc-simplify-pageblock-migratetype-check-in-__free_one_page.patch
mm-wrap-__find_buddy_pfn-with-a-necessary-buddy-page-validation.patch
mm-page_isolation-move-has_unmovable_pages-to-mm-page_isolationc.patch
mm-page_isolation-check-specified-range-for-unmovable-pages.patch
mm-make-alloc_contig_range-work-at-pageblock-granularity.patch
mm-page_isolation-enable-arbitrary-range-page-isolation.patch
mm-cma-use-pageblock_order-as-the-single-alignment.patch
drivers-virtio_mem-use-pageblock-size-as-the-minimum-virtio_mem-size.patch
reply other threads:[~2022-04-27 3:07 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=20220427030644.6CE51C385A4@smtp.kernel.org \
--to=akpm@linux-foundation.org \
--cc=david@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mgorman@techsingularity.net \
--cc=mm-commits@vger.kernel.org \
--cc=osalvador@suse.de \
--cc=rostedt@goodmis.org \
--cc=rppt@kernel.org \
--cc=torvalds@linux-foundation.org \
--cc=vbabka@suse.cz \
--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.