From: Sasha Levin <sashal@kernel.org>
To: Mark Brown <broonie@kernel.org>
Cc: tools@kernel.org, linux-kernel@vger.kernel.org,
torvalds@linux-foundation.org, sfr@canb.auug.org.au
Subject: Re: [RFC 0/5] LLMinus: LLM-Assisted Merge Conflict Resolution
Date: Tue, 23 Dec 2025 07:36:18 -0500 [thread overview]
Message-ID: <aUqMwuUoPuRN6Ry6@laps> (raw)
In-Reply-To: <565b28fc-6561-4992-88fa-35808ba1fa07@sirena.org.uk>
On Mon, Dec 22, 2025 at 02:50:55PM +0000, Mark Brown wrote:
>On Sun, Dec 21, 2025 at 11:10:11AM -0500, Sasha Levin wrote:
>
>> I assigned categories to the various trees used by -next (see
>> https://gist.github.com/sashalevin/163df4ae1163e0e22a97edc40e14b7f5) and built
>> a simple wrapper script to generate per-category integration branches, letting
>> LLMinus resolve conflicts whenever we hit one.
>
>Those categories appear to be a bit randomly assigned FWIW. I'm not
There should be some sense there :) but yes, we could fine tune it as we go.
>clear who would want the various intermediate merges either, I suppose
>that having some of the trees pulled into multiple places might help
>shake out some of the issues due to things getting sent to Linus in a
>different order but OTOH it will increase the total number of merges
>done and tested which is itself a cost. We could also shake out
>ordering issues by doing something like randomise the ordering. I think
>I'd want some demand or use case for doing more intermediate merges
>rather than just doing a bunch of them for the sake of it.
My thinking around it was to enable faster per-subsystem tests than what we
currently do. For example, we can quickly build mm-next and run mm focused
tests on it.
Since creating these per-subsystem trees is fairly cheap and can happen even
few times a day, we can help identify issues way earlier during the process.
>This seems like a very separate experiment to your LLM merge thing.
Right, just going off on a tangent based on the Maintainer's summit feedback of
how useful fs-next is.
>> The resulting branches were pushed to
>> https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-next.git/refs/ .
>> Each category has a %s-next branch, and a larger all-next branch which merges
>> all of them together and is the equivalent of linux-next.
>
>> Please let me know what you think!
>
>It might be easier to tell what it's done if you ran this with the same
>inputs as the last -next (it's on Christmas break at the minute),
>there's quite large differences in the end result but most if not all of
>that is that the input trees you're using are fresher than the last
>-next. Though I think even with the same base there'd be a bit of a
>needle in a haystack thing finding interesting cases, probably it'd be
>more useful to find and highlight specific cases where it does something
>interesting.
Yup, I figured I'd wait until break is over and compare the trees once the next
linux-next is released.
--
Thanks,
Sasha
next prev parent reply other threads:[~2025-12-23 12:36 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-19 18:16 [RFC 0/5] LLMinus: LLM-Assisted Merge Conflict Resolution Sasha Levin
2025-12-19 18:16 ` [RFC 1/5] LLMinus: Add skeleton project with learn command Sasha Levin
2025-12-19 18:16 ` [RFC 2/5] LLMinus: Add vectorize command with fastembed Sasha Levin
2025-12-19 18:16 ` [RFC 3/5] LLMinus: Add find command for similarity search Sasha Levin
2025-12-19 18:16 ` [RFC 4/5] LLMinus: Add resolve command for LLM-assisted conflict resolution Sasha Levin
2025-12-19 18:16 ` [RFC 5/5] LLMinus: Add pull command for LLM-assisted kernel pull request merging Sasha Levin
2025-12-21 16:10 ` [RFC 0/5] LLMinus: LLM-Assisted Merge Conflict Resolution Sasha Levin
2025-12-22 14:50 ` Mark Brown
2025-12-23 12:36 ` Sasha Levin [this message]
2025-12-23 17:47 ` Mark Brown
2026-01-05 18:00 ` Sasha Levin
2026-01-05 18:30 ` Mark Brown
2026-01-11 21:29 ` [RFC v2 0/7] " Sasha Levin
2026-01-11 21:29 ` [RFC v2 1/7] LLMinus: Add skeleton project with learn command Sasha Levin
2026-01-11 21:29 ` [RFC v2 2/7] LLMinus: Add vectorize command with fastembed Sasha Levin
2026-01-11 21:29 ` [RFC v2 3/7] LLMinus: Add find command for similarity search Sasha Levin
2026-01-11 21:29 ` [RFC v2 4/7] LLMinus: Add resolve command for LLM-assisted conflict resolution Sasha Levin
2026-01-11 21:29 ` [RFC v2 5/7] LLMinus: Add pull command for LLM-assisted kernel pull request merging Sasha Levin
2026-01-11 21:29 ` [RFC v2 6/7] LLMinus: Add prompt token limit enforcement Sasha Levin
2026-01-11 21:29 ` [RFC v2 7/7] LLMinus: Add build test integration for semantic conflicts Sasha Levin
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=aUqMwuUoPuRN6Ry6@laps \
--to=sashal@kernel.org \
--cc=broonie@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sfr@canb.auug.org.au \
--cc=tools@kernel.org \
--cc=torvalds@linux-foundation.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox