Thread View: linux.kernel.netdev
4 messages
4 total messages
Started by Christian Brauner
Fri, 16 Oct 2026 09:14
Re: [PATCH v4 00/10] net: support thread-specific pidfds for send and connect
Author: Christian Brauner
Date: Fri, 16 Oct 2026 09:14
Date: Fri, 16 Oct 2026 09:14
5 lines
5937 bytes
5937 bytes
> I think that this late in the cycle, the series could go via Christian's > tree only and we could get it back after the merge window. WDYT? Sounds good to me. Thanks for being flexible.
Re: [PATCH v4 00/10] net: support thread-specific pidfds for send and connect
Author: Jakub Kicinski
Date: Fri, 16 Oct 2026 15:57
Date: Fri, 16 Oct 2026 15:57
18 lines
6502 bytes
6502 bytes
On Fri, 16 Oct 2026 11:14:22 +0200 Christian Brauner wrote: > > I think that this late in the cycle, the series could go via Christian's > > tree only and we could get it back after the merge window. WDYT? > > Sounds good to me. Thanks for being flexible. Yup, close enough to the merge window so risk is low. Then again, I don't understand why it's hard to apply something off of a shared point. Konstantin, could you consider adding a b4 option which would make it apply the patches on the most recent Linus release tag and then merge them into current branch as normal? Simpler version is to let the user name the application base. This lets other trees trivially create a branch later if they want to.
Re: [PATCH v4 00/10] net: support thread-specific pidfds for send and connect
Author: Konstantin Ryabitsev
Date: Tue, 20 Oct 2026 19:39
Date: Tue, 20 Oct 2026 19:39
52 lines
10498 bytes
10498 bytes
On Fri, Oct 16, 2026 at 08:57:32AM -0700, Jakub Kicinski wrote:
> Konstantin, could you consider adding a b4 option which would
> make it apply the patches on the most recent Linus release tag
> and then merge them into current branch as normal?
> Simpler version is to let the user name the application base.
> This lets other trees trivially create a branch later if they
> want to.
This was a fairly frequent request, so I made this change now:
b4 shazam -M <msgid>
applies the series on the nearest annotated tag in the history of your current
branch (e.g. v7.3-rc6), and then merges it into your branch with the cover
letter as the merge message, just like a pull request. If the series doesn't
apply cleanly on that tag, or there is no annotated tag, b4 falls back to
applying on HEAD and tells you why.
As previously, use -H instead of -M if you just want the result in FETCH_HEAD
so you can look at it first.
If you don't want to upgrade to current master, you can already use
--merge-base to achieve the same effect:
b4 shazam -M --merge-base v7.3-rc6 <msgid>
It takes any commit, branch, or tag. The most recent master also takes a few
new markers: _tag (the nearest annotated tag, with no fallback to HEAD),
_specified (the series' own base-commit, which is what -M used before), and
_guess (guess from the blob hashes in the patches).
The breaking change here is that b4 no longer uses the series' base-commit by
default -- it was always envisioned as more of a hint for the CI systems. As
far as I'm aware, almost every real maintainer wants to apply to HEAD or, at
least, to the most recent tag as the base.
One potential pitfall: b4 can't know if "the nearest ancestor annotated tag"
is actually useful or meaningful, so if your own annotated pull request tags
(e.g. net-7.3-rc7) are in the history of your branch, one of those could end
up being the nearest tag. b4 always prints which tag it picked, so if you see
that, just pass --merge-base with the release tag you wanted.
The same logic now is in the "b4 review" TUI when taking a series with the
merge method: the dialog shows which base it's going to use and lets you
change it before anything is applied. I know Mark has been asking for this
(cc'ing him for review).
Please let me know if this works for your workflow, or if you run into
problems, or if I completely misunderstood the request. :)
-K
Re: [PATCH v4 00/10] net: support thread-specific pidfds for send and connect
Author: Jakub Kicinski
Date: Tue, 20 Oct 2026 22:07
Date: Tue, 20 Oct 2026 22:07
55 lines
10885 bytes
10885 bytes
On Tue, 20 Oct 2026 19:39:20 +0000 Konstantin Ryabitsev wrote: > On Fri, Oct 16, 2026 at 08:57:32AM -0700, Jakub Kicinski wrote: > > Konstantin, could you consider adding a b4 option which would > > make it apply the patches on the most recent Linus release tag > > and then merge them into current branch as normal? > > Simpler version is to let the user name the application base. > > This lets other trees trivially create a branch later if they > > want to. > > This was a fairly frequent request, so I made this change now: > > b4 shazam -M <msgid> > > applies the series on the nearest annotated tag in the history of your current > branch (e.g. v7.3-rc6), and then merges it into your branch with the cover > letter as the merge message, just like a pull request. If the series doesn't > apply cleanly on that tag, or there is no annotated tag, b4 falls back to > applying on HEAD and tells you why. > > As previously, use -H instead of -M if you just want the result in FETCH_HEAD > so you can look at it first. > > If you don't want to upgrade to current master, you can already use > --merge-base to achieve the same effect: > > b4 shazam -M --merge-base v7.3-rc6 <msgid> > > It takes any commit, branch, or tag. The most recent master also takes a few > new markers: _tag (the nearest annotated tag, with no fallback to HEAD), > _specified (the series' own base-commit, which is what -M used before), and > _guess (guess from the blob hashes in the patches). > > The breaking change here is that b4 no longer uses the series' base-commit by > default -- it was always envisioned as more of a hint for the CI systems. As > far as I'm aware, almost every real maintainer wants to apply to HEAD or, at > least, to the most recent tag as the base. > > One potential pitfall: b4 can't know if "the nearest ancestor annotated tag" > is actually useful or meaningful, so if your own annotated pull request tags > (e.g. net-7.3-rc7) are in the history of your branch, one of those could end > up being the nearest tag. b4 always prints which tag it picked, so if you see > that, just pass --merge-base with the release tag you wanted. Hopefully it only looks for tags which haven't been deleted? > The same logic now is in the "b4 review" TUI when taking a series with the > merge method: the dialog shows which base it's going to use and lets you > change it before anything is applied. I know Mark has been asking for this > (cc'ing him for review). > > Please let me know if this works for your workflow, or if you run into > problems, or if I completely misunderstood the request. :) Looks like you got it right. Thanks a lot!
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads