Message ID | 54d62d5a-16e3-4ea9-83c6-8801ee99855e@suse.cz (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [-next,conflict,imminent] Re: [PATCH v2 0/7] mm, slub: handle pending kfree_rcu() in kmem_cache_destroy() | expand |
On Fri, Aug 9, 2024 at 5:02 PM Vlastimil Babka <vbabka@suse.cz> wrote: > On 8/7/24 12:31, Vlastimil Babka wrote: > > Also in git: > > https://git.kernel.org/vbabka/l/slab-kfree_rcu-destroy-v2r2 > > I've added this to slab/for-next, there will be some conflicts and here's my > resulting git show or the merge commit I tried over today's next. > > It might look a bit different with tomorrow's next as mm will have v7 of the > conflicting series from Jann: > > https://lore.kernel.org/all/1ca6275f-a2fc-4bad-81dc-6257d4f8d750@suse.cz/ > > (also I did resolve it in the way I suggested to move Jann's block before > taking slab_mutex() but unless that happens in mm-unstable it would probably be more > correct to keep where he did) Regarding my conflicting patch: Do you want me to send a v8 of that one now to move things around in my patch as you suggested? Or should we do that in the slab tree after the conflict has been resolved in Linus' tree, or something like that? I'm not sure which way of doing this would minimize work for maintainers...
On 8/9/24 17:12, Jann Horn wrote: > On Fri, Aug 9, 2024 at 5:02 PM Vlastimil Babka <vbabka@suse.cz> wrote: >> On 8/7/24 12:31, Vlastimil Babka wrote: >> > Also in git: >> > https://git.kernel.org/vbabka/l/slab-kfree_rcu-destroy-v2r2 >> >> I've added this to slab/for-next, there will be some conflicts and here's my >> resulting git show or the merge commit I tried over today's next. >> >> It might look a bit different with tomorrow's next as mm will have v7 of the >> conflicting series from Jann: >> >> https://lore.kernel.org/all/1ca6275f-a2fc-4bad-81dc-6257d4f8d750@suse.cz/ >> >> (also I did resolve it in the way I suggested to move Jann's block before >> taking slab_mutex() but unless that happens in mm-unstable it would probably be more >> correct to keep where he did) > > Regarding my conflicting patch: Do you want me to send a v8 of that > one now to move things around in my patch as you suggested? Or should > we do that in the slab tree after the conflict has been resolved in > Linus' tree, or something like that? > I'm not sure which way of doing this would minimize work for maintainers... I guess it would be easiest to send a -fix to Andrew as it's rather minor change. Thanks!
On Fri, 9 Aug 2024 17:14:40 +0200 Vlastimil Babka <vbabka@suse.cz> wrote: > On 8/9/24 17:12, Jann Horn wrote: > > On Fri, Aug 9, 2024 at 5:02 PM Vlastimil Babka <vbabka@suse.cz> wrote: > >> On 8/7/24 12:31, Vlastimil Babka wrote: > >> > Also in git: > >> > https://git.kernel.org/vbabka/l/slab-kfree_rcu-destroy-v2r2 > >> > >> I've added this to slab/for-next, there will be some conflicts and here's my > >> resulting git show or the merge commit I tried over today's next. > >> > >> It might look a bit different with tomorrow's next as mm will have v7 of the > >> conflicting series from Jann: > >> > >> https://lore.kernel.org/all/1ca6275f-a2fc-4bad-81dc-6257d4f8d750@suse.cz/ > >> > >> (also I did resolve it in the way I suggested to move Jann's block before > >> taking slab_mutex() but unless that happens in mm-unstable it would probably be more > >> correct to keep where he did) > > > > Regarding my conflicting patch: Do you want me to send a v8 of that > > one now to move things around in my patch as you suggested? Or should > > we do that in the slab tree after the conflict has been resolved in > > Linus' tree, or something like that? > > I'm not sure which way of doing this would minimize work for maintainers... > > I guess it would be easiest to send a -fix to Andrew as it's rather minor > change. Thanks! That's quite a large conflict. How about we carry Jann's patchset in the slab tree?
On 8/10/24 2:11 AM, Andrew Morton wrote: > On Fri, 9 Aug 2024 17:14:40 +0200 Vlastimil Babka <vbabka@suse.cz> wrote: > >> On 8/9/24 17:12, Jann Horn wrote: >>> On Fri, Aug 9, 2024 at 5:02 PM Vlastimil Babka <vbabka@suse.cz> wrote: >>>> On 8/7/24 12:31, Vlastimil Babka wrote: >>>>> Also in git: >>>>> https://git.kernel.org/vbabka/l/slab-kfree_rcu-destroy-v2r2 >>>> >>>> I've added this to slab/for-next, there will be some conflicts and here's my >>>> resulting git show or the merge commit I tried over today's next. >>>> >>>> It might look a bit different with tomorrow's next as mm will have v7 of the >>>> conflicting series from Jann: >>>> >>>> https://lore.kernel.org/all/1ca6275f-a2fc-4bad-81dc-6257d4f8d750@suse.cz/ >>>> >>>> (also I did resolve it in the way I suggested to move Jann's block before >>>> taking slab_mutex() but unless that happens in mm-unstable it would probably be more >>>> correct to keep where he did) >>> >>> Regarding my conflicting patch: Do you want me to send a v8 of that >>> one now to move things around in my patch as you suggested? Or should >>> we do that in the slab tree after the conflict has been resolved in >>> Linus' tree, or something like that? >>> I'm not sure which way of doing this would minimize work for maintainers... >> >> I guess it would be easiest to send a -fix to Andrew as it's rather minor >> change. Thanks! > > That's quite a large conflict. How about we carry Jann's patchset in > the slab tree? OK I've done that and pushed to slab/for-next. Had no issues applying the kasan parts and merge with mm-unstable (locally rebased with Jann's commits dropped) had no conflicts either so it should work fine. Thanks!
On Sat, 10 Aug 2024 22:25:05 +0200 Vlastimil Babka <vbabka@suse.cz> wrote: > >> I guess it would be easiest to send a -fix to Andrew as it's rather minor > >> change. Thanks! > > > > That's quite a large conflict. How about we carry Jann's patchset in > > the slab tree? > > OK I've done that and pushed to slab/for-next. Had no issues applying > the kasan parts and merge with mm-unstable (locally rebased with Jann's > commits dropped) had no conflicts either so it should work fine. Thanks! Cool. I have dropped the copy of v8 from mm.git.
diff --cc include/linux/rcutree.h index 7dbde2b6f714,58e7db80f3a8..90a684f94776 --- a/include/linux/rcutree.h diff --cc kernel/rcu/tree.c index 930846f06bee,ebcfed9b570e..4606fa361b06 --- a/kernel/rcu/tree.c diff --cc mm/slab_common.c index fc7b1250d929,1a2873293f5d..82f287c21954 --- a/mm/slab_common.c