Linux kernel
![]() |
| Tux, the Linux penguin |
Linux is the most popular free computer operating system kernel and forms the basis for the Linux operating system (also called GNU/Linux), which has begun to compete with proprietary operating systems such as Unix and Windows.
The Linux kernel, written almost entirely in C with some GNU C language extensions, was first developed by Finland-Swedish hacker Linus Torvalds in an attempt to provide a free Unix-like operating system that ran on Intel 80386 processors. The project was launched in 1991 with a famous post to the Usenet newsgroup comp.os.minix that includes this sentence:
"I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones..."The complete post can be found here.
Early on, Minix hackers contributed code and ideas to the Linux kernel, and today it has received contributions from thousands of programmers.
Originally Linux was only the name of the kernel. The term "kernel" properly refers to the low-level system software that provides a hardware abstraction layer, disk and filesystem control, multi-tasking, load-balancing, networking and security enforcement. A kernel is not a complete operating system (as the term is usually understood). A complete system built around the Linux kernel is commonly known as the Linux operating system, although some prefer to call the system GNU/Linux. People often confuse the kernel with the operating system, leading to many mistaken notions, e.g. the idea that Torvalds wrote/coordinates other parts of the system than the kernel.
Torvalds has continued to release new versions of the kernel, consolidating contributions from other programmers and making changes of his own. All Linux releases with an even sub-version (the second component) are part of a stable series, namely: 1.0.x, 1.2.x, 2.0.x, 2.2.x, 2.4.x and the current 2.6.x, while releases with an odd sub-version, like the 2.5.x series, are development versions not intended for production use. While Torvalds continues to release the latest development versions, the maintenance of the older "stable" versions has been delegated to others, including David Weinehall (2.0), Alan Cox (2.2) and Marcelo Tosatti (2.4). In addition to these "official" kernels, alternative "kernel trees" can be obtained from other sources. Distributors of complete operating systems typically maintain their own versions of the kernel, for example including drivers which have not yet been accepted into the official version.
The 2.5 testing kernel is now (November 2003) in the final stages of testing, with the creation of so-called 2.6.0-test kernels. When the 2.6.0-test series is finished, the official 2.6.0 kernel will be released. The 2.6 series already has many benefits over the previous 2.4 series Linux kernels, most notably the ability to run Linux on Linux as an application, somewhat like a virtual machine, via User Mode Linux.
The Linux mascot is a penguin named Tux, created by Larry Ewing.
| Table of contents |
|
2 Portability 3 Licensing Terms 4 See also 5 Resources |
Today Linux is a hybrid monolithic kernel. Device drivers and kernel extensions typically run in ring 0, with full access to the hardware, although some run in user space. Unlike standard monolithic kernels, device drivers are easily configured as modules, and loaded or unloaded while running the system. Also unlike standard monolithic kernels, device drivers can be pre-empted under certain conditions. This latter feature was added to handle hardware interrupts correctly, and to improve support for symmetric multiprocessing.
The fact that Linux is not a microkernel was the topic of a
famous flame war between Linus Torvalds and Andy Tanenbaum, a summary of which can be found at http://www.dina.dk/~abraham/Linus_vs_Tanenbaum.html
The complete source code of various versions of the Linux kernel can be browsed at http://lxr.linux.no.
While Linus Torvalds didn't originally set out to make Linux a portable operating system, it has evolved in that direction. Linux is now in fact one of the most widely ported operating system kernels (although NetBSD has been ported to even more different systems), running on systems as diverse as the iPAQ (a handheld computer) to the IBM S/390 (a massive, hugely expensive mainframe). Linux is intended to run as the main operating system on IBM's new Blue Gene supercomputer architecture when it is finished.
However, it is important to note that Linus's efforts were also directed successfully at a different sort of portability. Portability, according to Linus, was the ability to easily compile applications from a variety of sources on his system; thus Linux originally became popular in part because it required the least effort to get everybody's favorite GPLed and other open source applications running.
Linux currently runs on the following machine architectures:
Initially, Torvalds released Linux under a license which forbade any commercial exploitation. This was soon changed to the GNU General Public License (version 2 exclusively). This license allows distribution and even sale of possibly modified versions of Linux but requires that all those copies be released under the same license and be accompanied by source code.
He has publicly referred to licensing Linux under the GPL as the "best thing I ever did". [1]
Architecture
Portability
Licensing Terms
See also
Resources







