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: Mon, 5 Jan 2026 13:00:20 -0500 [thread overview]
Message-ID: <aVv8NMl4aQwRcJ-E@laps> (raw)
In-Reply-To: <aUrVzuMz5D9QYF4O@sirena.co.uk>
On Tue, Dec 23, 2025 at 05:47:58PM +0000, Mark Brown wrote:
>On Tue, Dec 23, 2025 at 07:36:18AM -0500, Sasha Levin wrote:
>> 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:
>
>> > 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.
>
>If we start putting everything into intermediate merges then inevitably
>some of those merges are going to be later in the process and will get
>generated later in the process, meaning they're nearer to the production
>of the full -next. I'm also not clear that we have enough trees that
>would update multiple times a day.
I've left the script running over the holiday break, and the rate of changes is
very surprisingly high (specially given it was a holiday in most of the
world!).
>> 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.
>
>To be clear unless things are super prone to conflicts the big cost with
>adding stuff to -next isn't generally doing the merges, it's build
>testing the results. To that end the main potential advantage I can see
>in doing submerges would be if we could parallelise the build testing
>portion of things. That would need some consideration of the complexity
>of the scripting, the build machines and the cogantive load involved,
>and if we were doing that the considerations for constructing submerges
>would be a bit different. It has crossed my mind, but it'd be non
>trivial to do and not intending to produce intermediate merges that are
>useful to anyone else.
The way I have it working is that I will only recreate a sub-tree if any of the
-next trees that are part of it were rebased, otherwise I will just merge new
changes on top of the existing tree.
I will also do a build test only after I merged everything into the sub-tree.
If we hit a build error, I will bisect between the last known good point and
HEAD.
Between the above, as well as tracking "known-broken" trees, the volume of
build tests is not that scary.
--
Thanks,
Sasha
next prev parent reply other threads:[~2026-01-05 18:00 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
2025-12-23 17:47 ` Mark Brown
2026-01-05 18:00 ` Sasha Levin [this message]
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=aVv8NMl4aQwRcJ-E@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 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.