Skip to main content
ReferenceComputing historyBeginner

Linux kernel history: from Torvalds to collective development

In 1991, Linus Torvalds wrote a kernel for his 386 PC. The MINIX context, the GPL, drivers and maintainers: how Linux became a collective project.

Show contents

In spring 1991, Linus Torvalds, a computer science student at the University of Helsinki, wanted to understand how the Intel 386 processor in his PC switched from one task to another. His first program alternated between two processes, each printing letters on the screen. Six months later, that test program had become a kernel able to run the Bash shell and the GCC compiler. Today, the same project ships a new release every two to three months, with around 2,000 developers taking part over a year.

In between, Linux changed its licence, weathered criticism from a respected expert, took in drivers written by strangers and invented an organization able to absorb thousands of patches. This article tells the story of the kernel: the core of the system that manages processes, memory, files and devices. The components around it are covered in the history of GNU and free software, and their assembly into installable systems in the article on distributions.

Helsinki, 1991: exploring the 386

In a July 1992 message collecting his first public posts, Torvalds explains that he had not set out to write a kernel. Around April 1991, he simply wanted to explore the task-switching mechanisms of the 386, Intel’s 32-bit processor. He wrote a scheduler that alternated between two processes, then drivers for the keyboard and the serial port, then a terminal emulator to connect to the university’s computer. Little by little, he needed to read from and write to the disk: the program was turning into an operating system.

On 3 July 1991, he asked on the Usenet newsgroup comp.os.minix where he could find the rules of the POSIX standard, which describes the interfaces of a Unix-like system, in machine-readable form. He mentioned that he was working on a project under MINIX.

MINIX, the starting point

MINIX is a small Unix-like system that Andrew Tanenbaum, a professor at the Vrije Universiteit Amsterdam, created in 1987 to accompany his textbook Operating Systems: Design and Implementation. It was designed to be read and understood by students, and its code came with the book.

Torvalds used it as his working environment. He ran GCC 1.40, the GNU project’s C compiler, on it, and it was under MINIX that he compiled his own kernel. The release notes for version 0.01 say so plainly: you need MINIX to boot the system. The new kernel also used the MINIX file system format, so that a disk could be shared between the two.

The code, on the other hand, was new. The same notes state that the kernel “uses no code from minix or other sources”; Torvalds had first aimed for binary compatibility with MINIX, then dropped it as the differences grew. Linux thus belongs to the tradition of Unix, the system created in 1969 at Bell Labs by Ken Thompson and Dennis Ritchie: it reproduces its interfaces without descending from AT&T’s code. Like Unix, it is written in C, with a few parts in assembly language for processor-specific operations.

August to October 1991: a hobby goes public

On 25 August 1991, Torvalds posted a message to comp.os.minix titled “What would you like to see most in minix?”. In it, he announced a free operating system for 386 and 486 AT clones, “just a hobby, won’t be big and professional like gnu”. He had ported Bash 1.08 and GCC 1.40, which seemed to work, and asked readers what they liked or disliked about MINIX. He also warned that the system was not portable: it made heavy use of 386 task switching and would probably never support anything other than AT hard disks.

Version 0.01 went out in mid-September 1991, as Torvalds recalls, without any formal announcement. He describes it as “just a token gesture”, for the few people who were interested, and not really usable. Its release notes show the scale of the project:

  • it required a 386 AT PC, a VGA or EGA display and an AT-type disk controller;
  • the Finnish keyboard layout was hard-coded, in assembly language;
  • the shell had to be found at /bin/sh, since that is the program the kernel starts;
  • binaries of Bash and of a small update utility were supplied alongside the sources, but no kernel binary;
  • the author concluded: “Sadly, a kernel by itself gets you nowhere.”

Version 0.02, announced on 5 October 1991, was the first to get a public announcement. The message opens with a provocation: “Do you pine for the nice days of minix-1.1, when men were men and wrote their own device drivers?” Torvalds reported that he had run Bash, GCC, GNU make and GNU sed on his system, whose sources were uploaded to the nic.funet.fi FTP server.

That final sentence of the 0.01 release notes explains why these tools mattered: the kernel manages the machine, but the user works with a shell, a compiler and commands. Those pieces came mostly from the GNU project, which had been writing them since 1984 and was still waiting for its own kernel.

A licence that opened the door to others

Linux’s first licence was written by Torvalds himself. It allowed redistribution, provided the full source code remained available and free of charge and the copyright notices were kept, but it prohibited charging for distribution.

The release notes for version 0.12, in early 1992, announced the change: several people had asked for the licence to become compatible with GNU copyleft, and unless the contributors who had written code objected, the GNU General Public License would apply from 1 February. The GPL allows copies to be sold, but anyone who distributes the kernel, modified or not, must pass the same rights on to the recipients and give them access to the corresponding source code, for example by shipping it with the binaries. This choice made CD-ROMs and commercial distributions possible: a company shipping a modified kernel has to provide the source to those who receive it, and they in turn remain free to redistribute it.

The kernel is now distributed under GPL version 2 only (GPL-2.0). Its licensing rules add an important clarification: the system call interface forms a clear boundary. A program that merely requests services from the kernel through these calls is not subject to the kernel’s GPL. Finally, every source file carries an SPDX identifier that declares its licence in machine-readable form.

1992: “LINUX is obsolete”

On 29 January 1992, Andrew Tanenbaum posted a message to comp.os.minix titled “LINUX is obsolete”. His two arguments were about architecture. First, microkernels had won: “To me, writing a monolithic system in 1991 is a truly poor idea.” Second, designing a system for a single architecture was “a gross error”, because hardware changes; Linux was closely tied to the 386, whereas MINIX had been ported to several platforms. The next day, he added that Torvalds should be thankful he was not his student, as such a design would not earn a high grade.

Torvalds replied the same evening. Linux was free and available, whereas MINIX was sold: “Make minix freely available, and one of my biggest gripes with it will disappear.” He challenged the way MINIX implemented its microkernel and admitted that his kernel depended on the 386, but stressed that it followed Unix interfaces, which made applications easier to port. The following day, he apologized for the tone of his reply. The debate, republished in 1999 in the book Open Sources, remains a valuable record of how system design was thought about at the time.

Monolithic kernel or microkernel

The quarrel was about a real design question: where to place the system’s services.

Criterion Monolithic kernel (Linux) Microkernel (MINIX, Mach)
Kernel contents scheduling, memory, file systems, networking, drivers minimal mechanisms: processes, memory, messages
Other services in the same privileged memory space separate servers, outside the kernel
Internal communication direct function calls message passing
Strength fast, simple internal exchanges isolation: a failing driver can be restarted without stopping everything
Weakness a faulty driver can compromise the whole system cost of messages and complexity of coordination

Linux stayed monolithic, but learned to load and unload modules while running, which avoids building every driver into the boot image. It also became portable: in 1997, Torvalds’s master’s thesis at the University of Helsinki was titled Linux: a Portable Operating System and dealt in particular with the port to Digital’s Alpha, a 64-bit processor. The title reads as an answer, five years after Tanenbaum’s criticism. The reliability argument still carries weight: MINIX 3, the current version of Tanenbaum’s system, targets precisely embedded systems that demand high reliability.

Drivers written by those who had the hardware

Version 0.01 supported only a narrow set of hardware: AT hard disks, an EGA or VGA display, serial lines and a Finnish keyboard layout. The 0.02 message, with its “men [who] wrote their own device drivers”, read like an invitation, and it was taken up. The first contributors owned network cards, drives or sound cards that Torvalds did not have: each wrote the driver for their own hardware and sent it in, and the kernel gained another supported device. The kernel thus became a collective effort through its largest part, the one furthest from its author.

This origin explains a rule still in force, set out by Greg Kroah-Hartman, one of the kernel’s leading maintainers: Linux offers no stable internal interface to drivers, at either source or binary level. Developers change these interfaces when needed and, in the same change, fix every driver in the kernel that uses them. By contrast, the interface the kernel presents to programs, the system call interface, stays very stable and must not break.

The practical conclusion is straightforward: a driver that wants to keep working must be merged into the official kernel tree. It will then be fixed by whoever changes an interface, rather than sitting outside and needing rework with every release. The weight of drivers shows in the Linux 3.0 announcement in 2011: Torvalds noted that, as usual, around two thirds of the changes concerned drivers.

From a personal archive to a network of maintainers

Some landmark releases

Version Date What it marks
0.01 mid-September 1991 first sources released, without an announcement
0.02 5 October 1991 first announced release, with Bash and GCC
0.12 early 1992 switch to GNU copyleft
1.0 March 1994 first release numbered 1
2.0 June 1996 new major series
2.6.0 17 December 2003 series that laid the groundwork for today’s development model
3.0 21 July 2011 simple renumbering for the project’s twentieth anniversary

For Linux 3.0, Torvalds was emphatic: the release brought nothing special; it merely dropped a numbering scheme that had become cumbersome, in honour of Linux’s twenty years. Since then, the first number changes when the second one gets large, with no technical meaning.

BitKeeper, then Git

For a long time, patches arrived by email and Torvalds applied them himself. In the early 2000s, the project adopted BitKeeper, a proprietary version control system whose publisher, BitMover, offered a free version to developers. On 6 April 2005, Torvalds announced that he was stopping using it, after three years, following the withdrawal of that free version. He asked maintainers to send him their changes as individual patches while he found a solution.

He wrote that solution himself in a few days. The first commit of Git, in early April 2005, is self-mockingly titled “the information manager from hell”. The kernel’s Git repository started shortly afterwards with version 2.6.12-rc2: Torvalds decided not to import the entire earlier history, which would have amounted to about 3.2 GB. Git then became a separate project, used far beyond the kernel.

How a patch gets in today

The current path is described in the kernel’s official documentation:

  1. The contributor writes a patch and emails it to the relevant maintainers, identified through the MAINTAINERS file and the scripts/get_maintainer.pl script.
  2. They sign it with a Signed-off-by line, certifying the Developer’s Certificate of Origin: they have the right to submit this code under the stated licence, and both the contribution and the sign-off remain public. Anonymous contributions are not accepted.
  3. The subsystem maintainer (networking, a class of drivers, a file system…) reviews the patch, asks for changes if needed and merges it into their own Git tree. Intermediate maintainers may be layered in between, but this “chain of trust” rarely goes beyond two or three links.
  4. linux-next gathers every day the subsystem trees intended for the next release, to catch conflicts before they are merged.
  5. Linus Torvalds is the only person who merges into the mainline tree. He mostly pulls maintainers’ trees: of more than 9,500 patches in version 2.6.38, he picked only 112 directly.
  6. After the release, a stable team, currently Greg Kroah-Hartman and Sasha Levin, backports fixes into numbered updates such as 5.4.1 or 5.4.2; some releases are maintained for the long term.

A sign-off looks like this, using the sample identity from the documentation:

Signed-off-by: Random J Developer <random@developer.example.org>

Vertical diagram with five steps linked by arrows. One: the contributor writes the patch, adds the Signed-off-by line and emails it to the maintainer. Two: the subsystem maintainer, for example for networking, drivers or file systems, reviews the patch, asks for changes and merges it into their tree. Three: linux-next assembles every day the trees intended for the next release. Four: Linus Torvalds merges into the mainline tree during a merge window of about two weeks, then publishes one -rc release a week. Five: the release comes out, for example Linux 5.4 on 24 November 2019, then the stable team backports fixes into 5.4.y updates.

Original Bethemesh diagram, simplified: a patch may also go through an intermediate maintainer, and linux-next is not an approval step.

Example: the Linux 5.4 cycle, date by date

The pace of development shows in a real cycle. The kernel documentation gives the schedule for version 5.4, in 2019. During the merge window, Torvalds accepts new features; it closes with the first release candidate, 5.4-rc1. After that, only fixes for problems go in, and a release candidate comes out every week.

Date (2019) Event
15 September Linux 5.3 released, merge window opens
30 September 5.4-rc1, window closes
6 October → 17 November 5.4-rc2 to 5.4-rc8, one a week
24 November Linux 5.4 released

Working out the durations:

Merge window        15 Sep → 30 Sep    30 - 15 = 15 days
Stabilization       30 Sep → 24 Nov    31 + 24 = 55 days
Full cycle          15 Sep → 24 Nov    15 + 55 = 70 days, i.e. 10 weeks
Release candidates  rc1 to rc8         8 -rc releases

Since 30 September is the last day of the month, there are no September days left to count: 31 October is reached in 31 days, then 24 November in 24 more, giving 31 + 24 = 55 days. The full cycle lasts 15 + 55 = 70 days, or ten weeks: about two weeks of merging (15 days), then about eight weeks of stabilization (55 days). The documentation puts the norm at between a sixth and a ninth release candidate, and a full cycle at two to three months. Release 5.4 is a typical case, with some 13,000 changesets per release according to the same document.

This schedule explains how a project of this size stays releasable: new features only go in during two weeks, and the rest of the cycle is spent fixing.

Collective governance around a referee

Torvalds keeps the final say over the mainline tree, but he now writes only a small share of the code. The documentation puts the number of developers contributing to the kernel over a year at around 2,000. Their work is often funded by companies that use Linux in their products and servers.

So that the referee depends on none of them, a neutral organization employs him. In January 2007, Open Source Development Labs, which already employed Torvalds, merged with the Free Standards Group to form the Linux Foundation, backed by companies such as HP, IBM and Intel.

The rules of community life have evolved too. In September 2018, with the release of 4.19-rc4, Torvalds announced a break to rethink how he addressed other developers; Greg Kroah-Hartman saw the cycle through. The same day, a code of conduct based on the Contributor Covenant replaced the “Code of Conflict” that had been in the kernel since 2015. Torvalds later resumed his role.

The kernel can also take on new tools. Initial infrastructure for writing code in Rust, a language designed for memory safety, went into version 6.1 in 2022. In December 2025, the maintainers’ summit concluded that Rust was no longer experimental in the kernel, even though its use still has to spread.

Legacy: one kernel, many systems

Linus Torvalds did not write “Linux” in the everyday sense of the word. He wrote, then coordinated, a kernel. Combined with the GNU tools, this kernel formed a fully free system as early as 1992, which distributions would go on to assemble, package and update. The same kernel also underpins very different systems, such as Android, whose story is told in the article on Android and iOS.

Several choices from the early years outgrew their context:

  • reproduced Unix interfaces: following POSIX and Unix conventions made it possible to use Bash, GCC and other existing tools straight away;
  • a licence that requires sharing: GPL v2 requires anyone distributing a modified kernel to provide the corresponding source code to its recipients, who may in turn redistribute it;
  • drivers in the tree: the lack of a stable internal interface pushes manufacturers to publish their drivers, at the cost of integration work;
  • a hierarchy of maintainers: a single final referee, but hundreds of subsystem maintainers who sort through most of the work;
  • a regular schedule: a short merge window and weekly release candidates make the pace predictable for every contributor.

The “hobby” announced in August 1991 did not become big and professional like GNU: it became a project where the way people collaborate matters as much as the code.

Frequently asked questions

Did Linus Torvalds write Linux on his own?

He wrote the first versions of the kernel alone, in 1991. By version 0.12, the release notes already mention contributors whose agreement was needed to change the licence. Today, around 2,000 developers take part in the kernel every year, and Torvalds mainly merges work prepared by the maintainers. The commands, shell and compiler of a Linux system come largely from other projects, GNU among them.

Does Linux contain code from MINIX or Unix?

The 0.01 release notes state that the kernel uses no code from MINIX. Torvalds used MINIX to develop and boot his first versions, and adopted its file system format. Linux reproduces the interfaces of Unix, standardized by POSIX, without reusing AT&T’s code: it is a “Unix-like” system.

What is a monolithic kernel?

It is a kernel that runs process management, memory, files, networking and drivers in the same privileged space. A microkernel, such as MINIX’s, keeps only the basic mechanisms there and hands the rest to separate servers. Linux is monolithic, but loads some of its drivers as modules on demand.

Why does the Linux kernel remain under GPL version 2?

The kernel’s licensing rules specify that it is distributed under GPL-2.0 only. Changing the licence would require the agreement of the copyright holders of the code concerned, meaning thousands of contributors. The system call exception ensures that a program that simply uses the kernel is not subject to this licence.

Why do drivers need to be merged into the kernel?

Because the kernel guarantees no stable internal interface. A driver maintained outside the tree has to be adapted to every interface change; a driver in the tree is fixed by the developer who changes the interface. The interface offered to programs, the system call interface, does stay stable.

Was Linux 3.0 a revolution?

No. Torvalds presented version 3.0, in July 2011, as a simple renumbering to celebrate the project’s twentieth anniversary, with the usual batch of driver changes and fixes. The later moves to 4.0, 5.0 and 6.0 follow the same logic.

Was this article useful?

Sources and references

  1. Linus Torvalds — “Birthday”, message to the Linux-Activists list of 31 July 1992: his 1991 posts to comp.os.minix (POSIX in July, announcement of 25 August, version 0.02 of 5 October) and his memories of the early days (opens in a new tab)Page in English
  2. Linus Torvalds — “What would you like to see most in minix?”, announcement on comp.os.minix, 25 August 1991 (opens in a new tab)Page in English
  3. Linus Torvalds — “Notes for linux release 0.01” (1991): hardware requirements, MINIX needed to boot, no MINIX code, initial licence, kernel.org archive (opens in a new tab)Page in English
  4. Linus Torvalds — release notes for Linux 0.12 (1992): switch to GNU copyleft from 1 February, virtual memory paging to disk, kernel.org archive (opens in a new tab)Page in English
  5. Vrije Universiteit Amsterdam — Andrew S. Tanenbaum receives the ACM Software System Award for MINIX (2024): MINIX 1.0 created in 1987 to accompany his textbook (opens in a new tab)Page in English
  6. Chris DiBona, Sam Ockman and Mark Stone (eds.), Open Sources: Voices from the Open Source Revolution — Appendix A, The Tanenbaum-Torvalds Debate (opens in a new tab), O’Reilly Media; comp.os.minix posts from 29 January to 5 February 1992, 1999Page in English
  7. Linus Torvalds, Linux: a Portable Operating System (opens in a new tab), Master’s thesis, Department of Computer Science, University of Helsinki, 1997Page in English
  8. kernel.org — 1.0 series archive: linux-1.0.tar.gz dated March 1994 (opens in a new tab)Page in English
  9. kernel.org — 2.0 series archive: linux-2.0.tar.gz dated June 1996 (opens in a new tab)Page in English
  10. Linus Torvalds — “Linux 2.6.0”, announcement on the Linux kernel mailing list, 17 December 2003 (opens in a new tab)Page in English
  11. Linus Torvalds — “Linux 3.0 release”, Linux kernel mailing list, 21 July 2011: renumbering for the twentieth anniversary, two thirds of changes in drivers (opens in a new tab)Page in English
  12. LWN.net — Linus Torvalds’s message of 6 April 2005 on dropping BitKeeper after three years of use (opens in a new tab)Page in English
  13. Git repository — Linus Torvalds’s first commit: “Initial revision of git, the information manager from hell”, April 2005 (opens in a new tab)Page in English
  14. Linux kernel repository — first Git commit “Linux-2.6.12-rc2”, April 2005: earlier history not imported (opens in a new tab)Page in English
  15. Linux kernel documentation — “How the development process works”: merge window, -rc releases, 5.4 schedule, maintainers, linux-next, stable branches (opens in a new tab)Page in English
  16. Linux kernel documentation — “Submitting patches”: Developer’s Certificate of Origin, Signed-off-by line, MAINTAINERS file (opens in a new tab)Page in English
  17. Greg Kroah-Hartman, The Linux Kernel Driver Interface (all of your questions answered and then some) (opens in a new tab), Linux kernel documentation, stable-api-nonsensePage in English
  18. Linux kernel documentation — “Linux kernel licensing rules”: GPL-2.0 only, system call exception, SPDX identifiers (opens in a new tab)Page in English
  19. Linux kernel repository — text of the GNU General Public License version 2 (LICENSES/preferred/GPL-2.0): source code obligations, section 3 (opens in a new tab)Page in English
  20. InformationWeek — “Linux Foundation Formed With Backing From HP, IBM, Intel”, January 2007: merger of OSDL and the Free Standards Group (opens in a new tab)Page in English
  21. Jonathan Corbet, Code, conflict, and conduct (opens in a new tab), LWN.net, 18 September 2018, 2018Page in English
  22. Jonathan Corbet, The (successful) end of the kernel Rust experiment (opens in a new tab), LWN.net, 10 December 2025, 2025Page in English
ReferenceComputing historyBeginner

GNU and free software: rebuilding a reusable system

Stallman launched GNU in 1983 to rebuild a free Unix-like system: its components, the four freedoms, the GPL, the FSF, open source and the Linux kernel.

18 November 202614 min
ReferenceComputing historyBeginner

Unix history: from Bell Labs to BSD, Linux and macOS

Born at Bell Labs in 1969, Unix brought files, processes, the shell, pipes and C together. Its ideas live on in BSD, Linux, macOS and the POSIX standard.

5 November 202615 min