* linux-next: manual merge of the slab tree with the mm-unstable tree
@ 2025-07-21 4:20 Stephen Rothwell
2025-07-21 19:38 ` Matthew Wilcox
0 siblings, 1 reply; 8+ messages in thread
From: Stephen Rothwell @ 2025-07-21 4:20 UTC (permalink / raw)
To: Vlastimil Babka, Andrew Morton
Cc: Linux Kernel Mailing List, Linux Next Mailing List,
Luiz Capitulino, Matthew Wilcox (Oracle)
[-- Attachment #1: Type: text/plain, Size: 729 bytes --]
Hi all,
Today's linux-next merge of the slab tree got a conflict in:
fs/proc/page.c
between commit:
a602ee331e31 ("fs: stable_page_flags(): use snapshot_page()")
from the mm-unstable tree and commit:
d8178294c53e ("proc: Remove mention of PG_slab")
from the slab tree.
I fixed it up (I just used the former version) and can carry the fix as
necessary. This is now fixed as far as linux-next is concerned, but any
non trivial conflicts should be mentioned to your upstream maintainer
when your tree is submitted for merging. You may also want to consider
cooperating with the maintainer of the conflicting tree to minimise any
particularly complex conflicts.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: linux-next: manual merge of the slab tree with the mm-unstable tree
2025-07-21 4:20 linux-next: manual merge of the slab tree with the mm-unstable tree Stephen Rothwell
@ 2025-07-21 19:38 ` Matthew Wilcox
2025-07-21 21:35 ` Luiz Capitulino
0 siblings, 1 reply; 8+ messages in thread
From: Matthew Wilcox @ 2025-07-21 19:38 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Vlastimil Babka, Andrew Morton, Linux Kernel Mailing List,
Linux Next Mailing List, Luiz Capitulino
On Mon, Jul 21, 2025 at 02:20:01PM +1000, Stephen Rothwell wrote:
> Hi all,
>
> Today's linux-next merge of the slab tree got a conflict in:
>
> fs/proc/page.c
>
> between commit:
>
> a602ee331e31 ("fs: stable_page_flags(): use snapshot_page()")
>
> from the mm-unstable tree and commit:
>
> d8178294c53e ("proc: Remove mention of PG_slab")
>
> from the slab tree.
>
> I fixed it up (I just used the former version) and can carry the fix as
> necessary. This is now fixed as far as linux-next is concerned, but any
I think the snapshot_page commit was incorrect in removing this comment.
It is still valuable information. I think the comment from d8178294c53e
should remain in the tree after the resolution.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: linux-next: manual merge of the slab tree with the mm-unstable tree
2025-07-21 19:38 ` Matthew Wilcox
@ 2025-07-21 21:35 ` Luiz Capitulino
2025-07-22 8:30 ` Vlastimil Babka
0 siblings, 1 reply; 8+ messages in thread
From: Luiz Capitulino @ 2025-07-21 21:35 UTC (permalink / raw)
To: Matthew Wilcox, Stephen Rothwell
Cc: Vlastimil Babka, Andrew Morton, Linux Kernel Mailing List,
Linux Next Mailing List, David Hildenbrand
On 2025-07-21 15:38, Matthew Wilcox wrote:
> On Mon, Jul 21, 2025 at 02:20:01PM +1000, Stephen Rothwell wrote:
>> Hi all,
>>
>> Today's linux-next merge of the slab tree got a conflict in:
>>
>> fs/proc/page.c
>>
>> between commit:
>>
>> a602ee331e31 ("fs: stable_page_flags(): use snapshot_page()")
>>
>> from the mm-unstable tree and commit:
>>
>> d8178294c53e ("proc: Remove mention of PG_slab")
>>
>> from the slab tree.
>>
>> I fixed it up (I just used the former version) and can carry the fix as
>> necessary. This is now fixed as far as linux-next is concerned, but any
>
> I think the snapshot_page commit was incorrect in removing this comment.
> It is still valuable information. I think the comment from d8178294c53e
> should remain in the tree after the resolution.
The comment wasn't just dropped, David suggested a new version for the comment
(which is similar to yours). The new comment is now part of set_ps_flags()
which is where we set this flag in the snapshot_page() implementation:
static void set_ps_flags(struct page_snapshot *ps, const struct folio *folio,
const struct page *page)
{
/*
* Only the first page of a high-order buddy page has PageBuddy() set.
* So we have to check manually whether this page is part of a high-
* order buddy page.
*/
if (PageBuddy(page))
ps->flags |= PAGE_SNAPSHOT_PG_BUDDY;
else if (page_count(page) == 0 && is_free_buddy_page(page))
ps->flags |= PAGE_SNAPSHOT_PG_BUDDY;
if (folio_test_idle(folio))
ps->flags |= PAGE_SNAPSHOT_PG_IDLE;
}
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: linux-next: manual merge of the slab tree with the mm-unstable tree
2025-07-21 21:35 ` Luiz Capitulino
@ 2025-07-22 8:30 ` Vlastimil Babka
0 siblings, 0 replies; 8+ messages in thread
From: Vlastimil Babka @ 2025-07-22 8:30 UTC (permalink / raw)
To: Luiz Capitulino, Matthew Wilcox, Stephen Rothwell
Cc: Andrew Morton, Linux Kernel Mailing List, Linux Next Mailing List,
David Hildenbrand
On 7/21/25 23:35, Luiz Capitulino wrote:
> On 2025-07-21 15:38, Matthew Wilcox wrote:
>> On Mon, Jul 21, 2025 at 02:20:01PM +1000, Stephen Rothwell wrote:
>>> Hi all,
>>>
>>> Today's linux-next merge of the slab tree got a conflict in:
>>>
>>> fs/proc/page.c
>>>
>>> between commit:
>>>
>>> a602ee331e31 ("fs: stable_page_flags(): use snapshot_page()")
>>>
>>> from the mm-unstable tree and commit:
>>>
>>> d8178294c53e ("proc: Remove mention of PG_slab")
>>>
>>> from the slab tree.
>>>
>>> I fixed it up (I just used the former version) and can carry the fix as
>>> necessary. This is now fixed as far as linux-next is concerned, but any
>>
>> I think the snapshot_page commit was incorrect in removing this comment.
>> It is still valuable information. I think the comment from d8178294c53e
>> should remain in the tree after the resolution.
>
> The comment wasn't just dropped, David suggested a new version for the comment
> (which is similar to yours). The new comment is now part of set_ps_flags()
> which is where we set this flag in the snapshot_page() implementation:
>
> static void set_ps_flags(struct page_snapshot *ps, const struct folio *folio,
> const struct page *page)
> {
> /*
> * Only the first page of a high-order buddy page has PageBuddy() set.
> * So we have to check manually whether this page is part of a high-
> * order buddy page.
> */
> if (PageBuddy(page))
> ps->flags |= PAGE_SNAPSHOT_PG_BUDDY;
That seems to work. I can therefore simply drop d8178294c53e from the slab tree.
> else if (page_count(page) == 0 && is_free_buddy_page(page))
> ps->flags |= PAGE_SNAPSHOT_PG_BUDDY;
>
> if (folio_test_idle(folio))
> ps->flags |= PAGE_SNAPSHOT_PG_IDLE;
> }
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* linux-next: manual merge of the slab tree with the mm-unstable tree
@ 2025-09-04 6:20 Stephen Rothwell
0 siblings, 0 replies; 8+ messages in thread
From: Stephen Rothwell @ 2025-09-04 6:20 UTC (permalink / raw)
To: Vlastimil Babka, Andrew Morton
Cc: Liam R. Howlett, Linux Kernel Mailing List,
Linux Next Mailing List, Qianfeng Rong
[-- Attachment #1: Type: text/plain, Size: 742 bytes --]
Hi all,
Today's linux-next merge of the slab tree got a conflict in:
lib/maple_tree.c
between commit:
65d011b2bc05 ("maple_tree: remove redundant __GFP_NOWARN")
from the mm-unstable tree and commit:
1094ea77b180 ("maple_tree: Prefilled sheaf conversion and testing")
from the slab tree.
I fixed it up (I used the latter version) and can carry the fix as
necessary. This is now fixed as far as linux-next is concerned, but any
non trivial conflicts should be mentioned to your upstream maintainer
when your tree is submitted for merging. You may also want to consider
cooperating with the maintainer of the conflicting tree to minimise any
particularly complex conflicts.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* linux-next: manual merge of the slab tree with the mm-unstable tree
@ 2025-09-04 6:29 Stephen Rothwell
2025-09-04 8:39 ` Vlastimil Babka
0 siblings, 1 reply; 8+ messages in thread
From: Stephen Rothwell @ 2025-09-04 6:29 UTC (permalink / raw)
To: Vlastimil Babka, Andrew Morton
Cc: Liam R. Howlett, Linux Kernel Mailing List,
Linux Next Mailing List, Lorenzo Stoakes
[-- Attachment #1: Type: text/plain, Size: 934 bytes --]
Hi all,
FIXME: Add owner of second tree to To:
Add author(s)/SOB of conflicting commits.
Today's linux-next merge of the slab tree got a conflict in:
tools/testing/vma/vma_internal.h
between commit:
da018ebb7157 ("tools/testing/vma: clean up stubs in vma_internal.h")
from the mm-unstable tree and commits:
cbb6a30df135 ("tools/testing/vma: Implement vm_refcnt reset")
6602bcbdfbad ("tools/testing: Add support for changes to slab for sheaves")
from the slab tree.
I fixed it up (I used the latter version) and can carry the fix as
necessary. This is now fixed as far as linux-next is concerned, but any
non trivial conflicts should be mentioned to your upstream maintainer
when your tree is submitted for merging. You may also want to consider
cooperating with the maintainer of the conflicting tree to minimise any
particularly complex conflicts.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: linux-next: manual merge of the slab tree with the mm-unstable tree
2025-09-04 6:29 Stephen Rothwell
@ 2025-09-04 8:39 ` Vlastimil Babka
2025-09-04 21:39 ` Andrew Morton
0 siblings, 1 reply; 8+ messages in thread
From: Vlastimil Babka @ 2025-09-04 8:39 UTC (permalink / raw)
To: Stephen Rothwell, Andrew Morton
Cc: Liam R. Howlett, Linux Kernel Mailing List,
Linux Next Mailing List, Lorenzo Stoakes, Qianfeng Rong
On 9/4/25 08:29, Stephen Rothwell wrote:
> Hi all,
>
> FIXME: Add owner of second tree to To:
> Add author(s)/SOB of conflicting commits.
>
> Today's linux-next merge of the slab tree got a conflict in:
>
> tools/testing/vma/vma_internal.h
>
> between commit:
>
> da018ebb7157 ("tools/testing/vma: clean up stubs in vma_internal.h")
We can solve it by me taking this and
65d011b2bc05 ("maple_tree: remove redundant __GFP_NOWARN")
from the other thread and Andrew dropping them in mm-unstable. I tried to
rebase mm-unstable locally while dropping those and there were no conflicts
and they are self-contained cleanups. AFAIR Andrew was fine with such
resolutions in the past.
Thanks.
> from the mm-unstable tree and commits:
>
> cbb6a30df135 ("tools/testing/vma: Implement vm_refcnt reset")
> 6602bcbdfbad ("tools/testing: Add support for changes to slab for sheaves")
>
> from the slab tree.
>
> I fixed it up (I used the latter version) and can carry the fix as
> necessary. This is now fixed as far as linux-next is concerned, but any
> non trivial conflicts should be mentioned to your upstream maintainer
> when your tree is submitted for merging. You may also want to consider
> cooperating with the maintainer of the conflicting tree to minimise any
> particularly complex conflicts.
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: linux-next: manual merge of the slab tree with the mm-unstable tree
2025-09-04 8:39 ` Vlastimil Babka
@ 2025-09-04 21:39 ` Andrew Morton
0 siblings, 0 replies; 8+ messages in thread
From: Andrew Morton @ 2025-09-04 21:39 UTC (permalink / raw)
To: Vlastimil Babka
Cc: Stephen Rothwell, Liam R. Howlett, Linux Kernel Mailing List,
Linux Next Mailing List, Lorenzo Stoakes, Qianfeng Rong
On Thu, 4 Sep 2025 10:39:47 +0200 Vlastimil Babka <vbabka@suse.cz> wrote:
> On 9/4/25 08:29, Stephen Rothwell wrote:
> > Hi all,
> >
> > FIXME: Add owner of second tree to To:
> > Add author(s)/SOB of conflicting commits.
> >
> > Today's linux-next merge of the slab tree got a conflict in:
> >
> > tools/testing/vma/vma_internal.h
> >
> > between commit:
> >
> > da018ebb7157 ("tools/testing/vma: clean up stubs in vma_internal.h")
>
> We can solve it by me taking this and
>
> 65d011b2bc05 ("maple_tree: remove redundant __GFP_NOWARN")
>
> from the other thread and Andrew dropping them in mm-unstable. I tried to
> rebase mm-unstable locally while dropping those and there were no conflicts
> and they are self-contained cleanups. AFAIR Andrew was fine with such
> resolutions in the past.
Yep, I generally just drop things when these conflicts occur.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2025-09-04 21:39 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-21 4:20 linux-next: manual merge of the slab tree with the mm-unstable tree Stephen Rothwell
2025-07-21 19:38 ` Matthew Wilcox
2025-07-21 21:35 ` Luiz Capitulino
2025-07-22 8:30 ` Vlastimil Babka
-- strict thread matches above, loose matches on Subject: below --
2025-09-04 6:20 Stephen Rothwell
2025-09-04 6:29 Stephen Rothwell
2025-09-04 8:39 ` Vlastimil Babka
2025-09-04 21:39 ` Andrew Morton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).