kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Understanding merge window and next-tree
@ 2021-09-10 16:06 Lafan Mining
  2021-09-11  8:16 ` Greg KH
  2021-09-11  8:40 ` Bernd Petrovitsch
  0 siblings, 2 replies; 3+ messages in thread
From: Lafan Mining @ 2021-09-10 16:06 UTC (permalink / raw)
  To: kernelnewbies


[-- Attachment #1.1: Type: text/plain, Size: 762 bytes --]

I'm trying to understand how Linux Kernel development works and reading the relevant documentation at https://www.kernel.org/doc/html/latest/process/2.Process.html

So there is the so called next-tree accumulating all the patches from all the subsystems ready for merge and the mainline tree. The thing is the merge-window is opened for 2 weeks (as mentioned in the linked documentation) and as far as I understood all the changes will be merged into the mainline.

But looking through the next-tree I found some implementation in Rust https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/log/rust which is much older than 2 months.

How is that happened that after a few merge windows (4 if I counted correctly) it's still not merged?

Thank you!

[-- Attachment #1.2: Type: text/html, Size: 1185 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Understanding merge window and next-tree
  2021-09-10 16:06 Understanding merge window and next-tree Lafan Mining
@ 2021-09-11  8:16 ` Greg KH
  2021-09-11  8:40 ` Bernd Petrovitsch
  1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2021-09-11  8:16 UTC (permalink / raw)
  To: Lafan Mining; +Cc: kernelnewbies

On Fri, Sep 10, 2021 at 04:06:39PM +0000, Lafan Mining wrote:
> I'm trying to understand how Linux Kernel development works and reading the relevant documentation at https://www.kernel.org/doc/html/latest/process/2.Process.html
> 
> So there is the so called next-tree accumulating all the patches from all the subsystems ready for merge and the mainline tree. The thing is the merge-window is opened for 2 weeks (as mentioned in the linked documentation) and as far as I understood all the changes will be merged into the mainline.
> 
> But looking through the next-tree I found some implementation in Rust https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/log/rust which is much older than 2 months.
> 
> How is that happened that after a few merge windows (4 if I counted correctly) it's still not merged?

Maintainers have to ask Linus to take their changes and be merged, Linus
does not directly merge from linux-next.  This allows for maintainers to
"skip" merge windows if needed, as well as have things in linux-next for
a long time before they go to Linus for various reasons (the -mm tree
has many such patches, and so does the rust tree as you have seen.)

So yes, the requirement is that changes have to be in linux-next before
it goes into Linus's tree, but it does not guarantee that anything is in
linux-next will end up in Linus's tree.

Does that help?

greg k-h

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Understanding merge window and next-tree
  2021-09-10 16:06 Understanding merge window and next-tree Lafan Mining
  2021-09-11  8:16 ` Greg KH
@ 2021-09-11  8:40 ` Bernd Petrovitsch
  1 sibling, 0 replies; 3+ messages in thread
From: Bernd Petrovitsch @ 2021-09-11  8:40 UTC (permalink / raw)
  To: Lafan Mining, kernelnewbies

Hi all!

On 10/09/2021 18:06, Lafan Mining wrote:
> I'm trying to understand how Linux Kernel development works and reading
> the relevant documentation
> at https://www.kernel.org/doc/html/latest/process/2.Process.html
> <https://www.kernel.org/doc/html/latest/process/2.Process.html>
> 
> So there is the so called next-tree accumulating all the patches from
> all the subsystems ready for merge and the mainline tree. The thing is
> the merge-window is opened for 2 weeks (as mentioned in the linked
> documentation) and as far as I understood all the changes will be merged
> into the mainline.

The main purpose of the -next tree is to identify (and solve) merge
issues (way) before the merge window so that there is less stress and
chaos in the merge window.

MfG,
	Bernd
-- 
Bernd Petrovitsch                  Email : bernd@petrovitsch.priv.at
     There is NO CLOUD, just other people's computers. - FSFE
                     LUGA : http://www.luga.at

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-11  8:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-10 16:06 Understanding merge window and next-tree Lafan Mining
2021-09-11  8:16 ` Greg KH
2021-09-11  8:40 ` Bernd Petrovitsch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).