Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Explain Linux kernel state terminology e.g. net.next, linux-next, net.git

I've compiled a few kernels from kernel.org in the past but am unsure of some terminology:

Recently, I had a developer via mailing list tell me to install a specific kernel for a feature, "3.12+ (net.git) should be fine to use." What does the net.git mean? I went to kernel.org and it said 3.12 was mainline (at time of my search) but I didn't see net.git.

If someone says install 3.12 (net.git) how do I obtain it? Does that mean clone from a specific branch on github?

What do terms net.next, linux-next, net.git etc. mean? I imagine there are others too.

Is there a page that documents or can someone explain the meaning of these items in context of the Linux kernel? I'd be interested in knowing others not listed.

I have read https://www.kernel.org/category/faq.html which explains mainline and stable releases.

like image 399
jonschipp Avatar asked Oct 11 '13 21:10

jonschipp


People also ask

Is git a Linux kernel?

Git is the source code management tool used by the Linux kernel developer community.

What does the Linux kernel do?

The Linux® kernel is the main component of a Linux operating system (OS) and is the core interface between a computer's hardware and its processes. It communicates between the 2, managing resources as efficiently as possible.

What is Linux next tree?

The linux-next tree is the holding area for patches aimed at the next kernel merge window. If you're doing bleeding edge kernel development, you may want to work from that tree rather than Linus Torvalds' mainline tree.

How is the Linux kernel written?

The kernel is written in the C programming language [c-language]. More precisely, the kernel is typically compiled with gcc [gcc] under -std=gnu11 [gcc-c-dialect-options]: the GNU dialect of ISO C11. clang [clang] is also supported, see docs on Building Linux with Clang/LLVM.


2 Answers

net.git is David Miller's kernel tree.

You can obtain it like this against your own local tree :

git remote add net git://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git
git fetch net

net-next.git is the tree that contains all patches that will be submitted to Linus for Next kernel merge window.

Is there a page that documents or can someone explain the meaning of these items in context of the Linux kernel?

You can have an overview of all kernel's tree on kernel.org

linux-next in short words is a git tree that is the merge of all of the developer and maintainers trees. You can view all different trees included here in ./Next/Trees

like image 129
Mali Avatar answered Sep 21 '22 23:09

Mali


Most of the top-level kernel development happens not on github but on git.kernel.org.

See http://git.kernel.org/ for a list of repositories.

like image 22
CL. Avatar answered Sep 23 '22 23:09

CL.