* + mm-move-folio_set_compound_order-to-mm-internalh-update.patch added to mm-unstable branch
@ 2022-12-16 22:28 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-12-16 22:28 UTC (permalink / raw)
To: mm-commits, willy, songmuchun, mike.kravetz, jhubbard,
sidhartha.kumar, akpm
The patch titled
Subject: mm-move-folio_set_compound_order-to-mm-internalh-update
has been added to the -mm mm-unstable branch. Its filename is
mm-move-folio_set_compound_order-to-mm-internalh-update.patch
This patch will shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-move-folio_set_compound_order-to-mm-internalh-update.patch
This patch will later appear in the mm-unstable branch at
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
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 via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days
------------------------------------------------------
From: Sidhartha Kumar <sidhartha.kumar@oracle.com>
Subject: mm-move-folio_set_compound_order-to-mm-internalh-update
Date: Tue, 13 Dec 2022 13:20:53 -0800
alter the folio_set_order() warning
Signed-off-by: Sidhartha Kumar <sidhartha.kumar@oracle.com>
Suggested-by: Mike Kravetz <mike.kravetz@oracle.com>
Suggested-by: Muchun Song <songmuchun@bytedance.com>
Suggested-by: Matthew Wilcox <willy@infradead.org>
Suggested-by: John Hubbard <jhubbard@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/internal.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--- a/mm/internal.h~mm-move-folio_set_compound_order-to-mm-internalh-update
+++ a/mm/internal.h
@@ -384,8 +384,10 @@ int split_free_page(struct page *free_pa
*/
static inline void folio_set_order(struct folio *folio, unsigned int order)
{
- if (WARN_ON_ONCE(!folio_test_large(folio)))
+ if (!folio_test_large(folio)) {
+ WARN_ON_ONCE(order);
return;
+ }
folio->_folio_order = order;
#ifdef CONFIG_64BIT
_
Patches currently in -mm which might be from sidhartha.kumar@oracle.com are
mm-move-folio_set_compound_order-to-mm-internalh.patch
mm-move-folio_set_compound_order-to-mm-internalh-update.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-16 22:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-16 22:28 + mm-move-folio_set_compound_order-to-mm-internalh-update.patch added to mm-unstable branch Andrew Morton
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.