[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d8efb658-7aef-f742-24ff-adca53dc17d8@iogearbox.net>
Date: Thu, 24 Sep 2020 00:00:33 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: Andrii Nakryiko <andrii.nakryiko@...il.com>,
Alexei Starovoitov <alexei.starovoitov@...il.com>
Cc: bpf <bpf@...r.kernel.org>,
Network Development <netdev@...r.kernel.org>,
"David S. Miller" <davem@...emloft.net>,
Kernel Team <Kernel-team@...com>
Subject: Re: Keep bpf-next always open
On 9/23/20 11:48 PM, Andrii Nakryiko wrote:
> On Wed, Sep 23, 2020 at 2:20 PM Alexei Starovoitov
> <alexei.starovoitov@...il.com> wrote:
>>
>> BPF developers,
>>
>> The merge window is 1.5 weeks away or 2.5 weeks if rc8 happens. In the past we
>> observed a rush of patches to get in before bpf-next closes for the duration of
>> the merge window. Then there is a flood of patches right after bpf-next
>> reopens. Both periods create unnecessary tension for developers and maintainers.
>> In order to mitigate these issues we're planning to keep bpf-next open
>> during upcoming merge window and if this experiment works out we will keep
>> doing it in the future. The problem that bpf-next cannot be fully open, since
>> during the merge window lots of trees get pulled by Linus with inevitable bugs
>> and conflicts. The merge window is the time to fix bugs that got exposed
>> because of merges and because more people test torvalds/linux.git than
>> bpf/bpf-next.git.
>>
>> Hence starting roughly one week before the merge window few risky patches will
>> be applied to the 'next' branch in the bpf-next tree instead of
>
> Riskiness would be up to maintainers to determine or should we mark
> patches with a different tag (bpf-next-next?) explicitly?
Imho, 'bpf-next-next' tag in subject line would be too confusing, so just sticking
to 'bpf-next' as-is and then up to maintainers whether to apply to master vs next
branch when we get to merge window time. We can see how that works out and adjust
later if necessary.
>> bpf-next/master. Then during the two weeks of the merge window the patches will
>> be reviewed as normal and will be applied to the 'next' branch as well. After
>> Linus cuts -rc1 and net-next reopens, we will fast forward bpf-next tree to
>> net-next tree and will try to merge the 'next' branch that accumulated the
>> patches over these three weeks. After fast-forward the bpf-next tree might look
>> very different vs its state before the merge window and there is a chance that
>> some of the patches in the 'next' branch will not apply. We will try to resolve
>> the conflicts as much as we can and apply them all. Essentially bpf-next/next
>> is a strong promise that the patches will land into bpf-next. This scheme will
>> allow developers to work on new features and post them for review and landing
>> regardless of the merge window or not. Having said that the bug fixing is
>> always a priority.
>>
>> We've considered creating a bpf-next-next.git tree for this purpose, but decided
>> that bpf-next/next branch will be easier for everyone.
>>
>> Thoughts and comments?
>
> I like more continuous mode, thanks! bpf-next/next branch still means
> that libbpf on Github is effectively frozen for the duration of the
> merge window (merging an extra branch automatically is too much pain,
> we have enough fun with bpf and bpf-next trees), but let's see how it
> goes.
Powered by blists - more mailing lists