18c2ecf20Sopenharmony_ci.. _kernel_docs:
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciIndex of Documentation for People Interested in Writing and/or Understanding the Linux Kernel
48c2ecf20Sopenharmony_ci=============================================================================================
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci          Juan-Mariano de Goyeneche <jmseyas@dit.upm.es>
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ciThe need for a document like this one became apparent in the
98c2ecf20Sopenharmony_cilinux-kernel mailing list as the same questions, asking for pointers
108c2ecf20Sopenharmony_cito information, appeared again and again.
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ciFortunately, as more and more people get to GNU/Linux, more and more
138c2ecf20Sopenharmony_ciget interested in the Kernel. But reading the sources is not always
148c2ecf20Sopenharmony_cienough. It is easy to understand the code, but miss the concepts, the
158c2ecf20Sopenharmony_ciphilosophy and design decisions behind this code.
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ciUnfortunately, not many documents are available for beginners to
188c2ecf20Sopenharmony_cistart. And, even if they exist, there was no "well-known" place which
198c2ecf20Sopenharmony_cikept track of them. These lines try to cover this lack. All documents
208c2ecf20Sopenharmony_ciavailable on line known by the author are listed, while some reference
218c2ecf20Sopenharmony_cibooks are also mentioned.
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ciPLEASE, if you know any paper not listed here or write a new document,
248c2ecf20Sopenharmony_cisend me an e-mail, and I'll include a reference to it here. Any
258c2ecf20Sopenharmony_cicorrections, ideas or comments are also welcomed.
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ciThe papers that follow are listed in no particular order. All are
288c2ecf20Sopenharmony_cicataloged with the following fields: the document's "Title", the
298c2ecf20Sopenharmony_ci"Author"/s, the "URL" where they can be found, some "Keywords" helpful
308c2ecf20Sopenharmony_ciwhen searching for specific topics, and a brief "Description" of the
318c2ecf20Sopenharmony_ciDocument.
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ciEnjoy!
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ci.. note::
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ci   The documents on each section of this document are ordered by its
388c2ecf20Sopenharmony_ci   published date, from the newest to the oldest.
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ciDocs at the Linux Kernel tree
418c2ecf20Sopenharmony_ci-----------------------------
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_ciThe Sphinx books should be built with ``make {htmldocs | pdfdocs | epubdocs}``.
448c2ecf20Sopenharmony_ci
458c2ecf20Sopenharmony_ci    * Name: **linux/Documentation**
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ci      :Author: Many.
488c2ecf20Sopenharmony_ci      :Location: Documentation/
498c2ecf20Sopenharmony_ci      :Keywords: text files, Sphinx.
508c2ecf20Sopenharmony_ci      :Description: Documentation that comes with the kernel sources,
518c2ecf20Sopenharmony_ci        inside the Documentation directory. Some pages from this document
528c2ecf20Sopenharmony_ci        (including this document itself) have been moved there, and might
538c2ecf20Sopenharmony_ci        be more up to date than the web version.
548c2ecf20Sopenharmony_ci
558c2ecf20Sopenharmony_ciOn-line docs
568c2ecf20Sopenharmony_ci------------
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_ci    * Title: **Linux Kernel Mailing List Glossary**
598c2ecf20Sopenharmony_ci
608c2ecf20Sopenharmony_ci      :Author: various
618c2ecf20Sopenharmony_ci      :URL: https://kernelnewbies.org/KernelGlossary
628c2ecf20Sopenharmony_ci      :Date: rolling version
638c2ecf20Sopenharmony_ci      :Keywords: glossary, terms, linux-kernel.
648c2ecf20Sopenharmony_ci      :Description: From the introduction: "This glossary is intended as
658c2ecf20Sopenharmony_ci        a brief description of some of the acronyms and terms you may hear
668c2ecf20Sopenharmony_ci        during discussion of the Linux kernel".
678c2ecf20Sopenharmony_ci
688c2ecf20Sopenharmony_ci    * Title: **Tracing the Way of Data in a TCP Connection through the Linux Kernel**
698c2ecf20Sopenharmony_ci
708c2ecf20Sopenharmony_ci      :Author: Richard Sailer
718c2ecf20Sopenharmony_ci      :URL: https://archive.org/details/linux_kernel_data_flow_short_paper
728c2ecf20Sopenharmony_ci      :Date: 2016
738c2ecf20Sopenharmony_ci      :Keywords: Linux Kernel Networking, TCP, tracing, ftrace
748c2ecf20Sopenharmony_ci      :Description: A seminar paper explaining ftrace and how to use it for
758c2ecf20Sopenharmony_ci        understanding linux kernel internals,
768c2ecf20Sopenharmony_ci        illustrated at tracing the way of a TCP packet through the kernel.
778c2ecf20Sopenharmony_ci      :Abstract: *This short paper outlines the usage of ftrace a tracing framework
788c2ecf20Sopenharmony_ci        as a tool to understand a running Linux system.
798c2ecf20Sopenharmony_ci        Having obtained a trace-log a kernel hacker can read and understand
808c2ecf20Sopenharmony_ci        source code more determined and with context.
818c2ecf20Sopenharmony_ci        In a detailed example this approach is demonstrated in tracing
828c2ecf20Sopenharmony_ci        and the way of data in a TCP Connection through the kernel.
838c2ecf20Sopenharmony_ci        Finally this trace-log is used as base for more a exact conceptual
848c2ecf20Sopenharmony_ci        exploration and description of the Linux TCP/IP implementation.*
858c2ecf20Sopenharmony_ci
868c2ecf20Sopenharmony_ci    * Title: **On submitting kernel Patches**
878c2ecf20Sopenharmony_ci
888c2ecf20Sopenharmony_ci      :Author: Andi Kleen
898c2ecf20Sopenharmony_ci      :URL: http://halobates.de/on-submitting-kernel-patches.pdf
908c2ecf20Sopenharmony_ci      :Date: 2008
918c2ecf20Sopenharmony_ci      :Keywords: patches, review process, types of submissions, basic rules, case studies
928c2ecf20Sopenharmony_ci      :Description: This paper gives several experience values on what types of patches
938c2ecf20Sopenharmony_ci        there are and how likley they get merged.
948c2ecf20Sopenharmony_ci      :Abstract:
958c2ecf20Sopenharmony_ci        [...]. This paper examines some common problems for
968c2ecf20Sopenharmony_ci        submitting larger changes and some strategies to avoid problems.
978c2ecf20Sopenharmony_ci
988c2ecf20Sopenharmony_ci    * Title: **Linux Device Drivers, Third Edition**
998c2ecf20Sopenharmony_ci
1008c2ecf20Sopenharmony_ci      :Author: Jonathan Corbet, Alessandro Rubini, Greg Kroah-Hartman
1018c2ecf20Sopenharmony_ci      :URL: https://lwn.net/Kernel/LDD3/
1028c2ecf20Sopenharmony_ci      :Date: 2005
1038c2ecf20Sopenharmony_ci      :Description: A 600-page book covering the (2.6.10) driver
1048c2ecf20Sopenharmony_ci        programming API and kernel hacking in general.  Available under the
1058c2ecf20Sopenharmony_ci        Creative Commons Attribution-ShareAlike 2.0 license.
1068c2ecf20Sopenharmony_ci      :note: You can also :ref:`purchase a copy from O'Reilly or elsewhere  <ldd3_published>`.
1078c2ecf20Sopenharmony_ci
1088c2ecf20Sopenharmony_ci    * Title: **Writing an ALSA Driver**
1098c2ecf20Sopenharmony_ci
1108c2ecf20Sopenharmony_ci      :Author: Takashi Iwai <tiwai@suse.de>
1118c2ecf20Sopenharmony_ci      :URL: http://www.alsa-project.org/~iwai/writing-an-alsa-driver/index.html
1128c2ecf20Sopenharmony_ci      :Date: 2005
1138c2ecf20Sopenharmony_ci      :Keywords: ALSA, sound, soundcard, driver, lowlevel, hardware.
1148c2ecf20Sopenharmony_ci      :Description: Advanced Linux Sound Architecture for developers,
1158c2ecf20Sopenharmony_ci        both at kernel and user-level sides. ALSA is the Linux kernel
1168c2ecf20Sopenharmony_ci        sound architecture in the 2.6 kernel version.
1178c2ecf20Sopenharmony_ci
1188c2ecf20Sopenharmony_ci    * Title: **Linux PCMCIA Programmer's Guide**
1198c2ecf20Sopenharmony_ci
1208c2ecf20Sopenharmony_ci      :Author: David Hinds.
1218c2ecf20Sopenharmony_ci      :URL: http://pcmcia-cs.sourceforge.net/ftp/doc/PCMCIA-PROG.html
1228c2ecf20Sopenharmony_ci      :Date: 2003
1238c2ecf20Sopenharmony_ci      :Keywords: PCMCIA.
1248c2ecf20Sopenharmony_ci      :Description: "This document describes how to write kernel device
1258c2ecf20Sopenharmony_ci        drivers for the Linux PCMCIA Card Services interface. It also
1268c2ecf20Sopenharmony_ci        describes how to write user-mode utilities for communicating with
1278c2ecf20Sopenharmony_ci        Card Services.
1288c2ecf20Sopenharmony_ci
1298c2ecf20Sopenharmony_ci    * Title: **Linux Kernel Module Programming Guide**
1308c2ecf20Sopenharmony_ci
1318c2ecf20Sopenharmony_ci      :Author: Ori Pomerantz.
1328c2ecf20Sopenharmony_ci      :URL: https://tldp.org/LDP/lkmpg/2.6/html/index.html
1338c2ecf20Sopenharmony_ci      :Date: 2001
1348c2ecf20Sopenharmony_ci      :Keywords: modules, GPL book, /proc, ioctls, system calls,
1358c2ecf20Sopenharmony_ci        interrupt handlers .
1368c2ecf20Sopenharmony_ci      :Description: Very nice 92 pages GPL book on the topic of modules
1378c2ecf20Sopenharmony_ci        programming. Lots of examples.
1388c2ecf20Sopenharmony_ci
1398c2ecf20Sopenharmony_ci    * Title: **Global spinlock list and usage**
1408c2ecf20Sopenharmony_ci
1418c2ecf20Sopenharmony_ci      :Author: Rick Lindsley.
1428c2ecf20Sopenharmony_ci      :URL: http://lse.sourceforge.net/lockhier/global-spin-lock
1438c2ecf20Sopenharmony_ci      :Date: 2001
1448c2ecf20Sopenharmony_ci      :Keywords: spinlock.
1458c2ecf20Sopenharmony_ci      :Description: This is an attempt to document both the existence and
1468c2ecf20Sopenharmony_ci        usage of the spinlocks in the Linux 2.4.5 kernel. Comprehensive
1478c2ecf20Sopenharmony_ci        list of spinlocks showing when they are used, which functions
1488c2ecf20Sopenharmony_ci        access them, how each lock is acquired, under what conditions it
1498c2ecf20Sopenharmony_ci        is held, whether interrupts can occur or not while it is held...
1508c2ecf20Sopenharmony_ci
1518c2ecf20Sopenharmony_ci    * Title: **A Linux vm README**
1528c2ecf20Sopenharmony_ci
1538c2ecf20Sopenharmony_ci      :Author: Kanoj Sarcar.
1548c2ecf20Sopenharmony_ci      :URL: http://kos.enix.org/pub/linux-vmm.html
1558c2ecf20Sopenharmony_ci      :Date: 2001
1568c2ecf20Sopenharmony_ci      :Keywords: virtual memory, mm, pgd, vma, page, page flags, page
1578c2ecf20Sopenharmony_ci        cache, swap cache, kswapd.
1588c2ecf20Sopenharmony_ci      :Description: Telegraphic, short descriptions and definitions
1598c2ecf20Sopenharmony_ci        relating the Linux virtual memory implementation.
1608c2ecf20Sopenharmony_ci
1618c2ecf20Sopenharmony_ci    * Title: **Video4linux Drivers, Part 1: Video-Capture Device**
1628c2ecf20Sopenharmony_ci
1638c2ecf20Sopenharmony_ci      :Author: Alan Cox.
1648c2ecf20Sopenharmony_ci      :URL: http://www.linux-mag.com/id/406
1658c2ecf20Sopenharmony_ci      :Date: 2000
1668c2ecf20Sopenharmony_ci      :Keywords: video4linux, driver, video capture, capture devices,
1678c2ecf20Sopenharmony_ci        camera driver.
1688c2ecf20Sopenharmony_ci      :Description: The title says it all.
1698c2ecf20Sopenharmony_ci
1708c2ecf20Sopenharmony_ci    * Title: **Video4linux Drivers, Part 2: Video-capture Devices**
1718c2ecf20Sopenharmony_ci
1728c2ecf20Sopenharmony_ci      :Author: Alan Cox.
1738c2ecf20Sopenharmony_ci      :URL: http://www.linux-mag.com/id/429
1748c2ecf20Sopenharmony_ci      :Date: 2000
1758c2ecf20Sopenharmony_ci      :Keywords: video4linux, driver, video capture, capture devices,
1768c2ecf20Sopenharmony_ci        camera driver, control, query capabilities, capability, facility.
1778c2ecf20Sopenharmony_ci      :Description: The title says it all.
1788c2ecf20Sopenharmony_ci
1798c2ecf20Sopenharmony_ci    * Title: **Linux IP Networking. A Guide to the Implementation and Modification of the Linux Protocol Stack.**
1808c2ecf20Sopenharmony_ci
1818c2ecf20Sopenharmony_ci      :Author: Glenn Herrin.
1828c2ecf20Sopenharmony_ci      :URL: http://www.cs.unh.edu/cnrg/gherrin
1838c2ecf20Sopenharmony_ci      :Date: 2000
1848c2ecf20Sopenharmony_ci      :Keywords: network, networking, protocol, IP, UDP, TCP, connection,
1858c2ecf20Sopenharmony_ci        socket, receiving, transmitting, forwarding, routing, packets,
1868c2ecf20Sopenharmony_ci        modules, /proc, sk_buff, FIB, tags.
1878c2ecf20Sopenharmony_ci      :Description: Excellent paper devoted to the Linux IP Networking,
1888c2ecf20Sopenharmony_ci        explaining anything from the kernel's to the user space
1898c2ecf20Sopenharmony_ci        configuration tools' code. Very good to get a general overview of
1908c2ecf20Sopenharmony_ci        the kernel networking implementation and understand all steps
1918c2ecf20Sopenharmony_ci        packets follow from the time they are received at the network
1928c2ecf20Sopenharmony_ci        device till they are delivered to applications. The studied kernel
1938c2ecf20Sopenharmony_ci        code is from 2.2.14 version. Provides code for a working packet
1948c2ecf20Sopenharmony_ci        dropper example.
1958c2ecf20Sopenharmony_ci
1968c2ecf20Sopenharmony_ci    * Title: **How To Make Sure Your Driver Will Work On The Power Macintosh**
1978c2ecf20Sopenharmony_ci
1988c2ecf20Sopenharmony_ci      :Author: Paul Mackerras.
1998c2ecf20Sopenharmony_ci      :URL: http://www.linux-mag.com/id/261
2008c2ecf20Sopenharmony_ci      :Date: 1999
2018c2ecf20Sopenharmony_ci      :Keywords: Mac, Power Macintosh, porting, drivers, compatibility.
2028c2ecf20Sopenharmony_ci      :Description: The title says it all.
2038c2ecf20Sopenharmony_ci
2048c2ecf20Sopenharmony_ci    * Title: **An Introduction to SCSI Drivers**
2058c2ecf20Sopenharmony_ci
2068c2ecf20Sopenharmony_ci      :Author: Alan Cox.
2078c2ecf20Sopenharmony_ci      :URL: http://www.linux-mag.com/id/284
2088c2ecf20Sopenharmony_ci      :Date: 1999
2098c2ecf20Sopenharmony_ci      :Keywords: SCSI, device, driver.
2108c2ecf20Sopenharmony_ci      :Description: The title says it all.
2118c2ecf20Sopenharmony_ci
2128c2ecf20Sopenharmony_ci    * Title: **Advanced SCSI Drivers And Other Tales**
2138c2ecf20Sopenharmony_ci
2148c2ecf20Sopenharmony_ci      :Author: Alan Cox.
2158c2ecf20Sopenharmony_ci      :URL: http://www.linux-mag.com/id/307
2168c2ecf20Sopenharmony_ci      :Date: 1999
2178c2ecf20Sopenharmony_ci      :Keywords: SCSI, device, driver, advanced.
2188c2ecf20Sopenharmony_ci      :Description: The title says it all.
2198c2ecf20Sopenharmony_ci
2208c2ecf20Sopenharmony_ci    * Title: **Writing Linux Mouse Drivers**
2218c2ecf20Sopenharmony_ci
2228c2ecf20Sopenharmony_ci      :Author: Alan Cox.
2238c2ecf20Sopenharmony_ci      :URL: http://www.linux-mag.com/id/330
2248c2ecf20Sopenharmony_ci      :Date: 1999
2258c2ecf20Sopenharmony_ci      :Keywords: mouse, driver, gpm.
2268c2ecf20Sopenharmony_ci      :Description: The title says it all.
2278c2ecf20Sopenharmony_ci
2288c2ecf20Sopenharmony_ci    * Title: **More on Mouse Drivers**
2298c2ecf20Sopenharmony_ci
2308c2ecf20Sopenharmony_ci      :Author: Alan Cox.
2318c2ecf20Sopenharmony_ci      :URL: http://www.linux-mag.com/id/356
2328c2ecf20Sopenharmony_ci      :Date: 1999
2338c2ecf20Sopenharmony_ci      :Keywords: mouse, driver, gpm, races, asynchronous I/O.
2348c2ecf20Sopenharmony_ci      :Description: The title still says it all.
2358c2ecf20Sopenharmony_ci
2368c2ecf20Sopenharmony_ci    * Title: **Writing Video4linux Radio Driver**
2378c2ecf20Sopenharmony_ci
2388c2ecf20Sopenharmony_ci      :Author: Alan Cox.
2398c2ecf20Sopenharmony_ci      :URL: http://www.linux-mag.com/id/381
2408c2ecf20Sopenharmony_ci      :Date: 1999
2418c2ecf20Sopenharmony_ci      :Keywords: video4linux, driver, radio, radio devices.
2428c2ecf20Sopenharmony_ci      :Description: The title says it all.
2438c2ecf20Sopenharmony_ci
2448c2ecf20Sopenharmony_ci    * Title: **I/O Event Handling Under Linux**
2458c2ecf20Sopenharmony_ci
2468c2ecf20Sopenharmony_ci      :Author: Richard Gooch.
2478c2ecf20Sopenharmony_ci      :URL: https://web.mit.edu/~yandros/doc/io-events.html
2488c2ecf20Sopenharmony_ci      :Date: 1999
2498c2ecf20Sopenharmony_ci      :Keywords: IO, I/O, select(2), poll(2), FDs, aio_read(2), readiness
2508c2ecf20Sopenharmony_ci        event queues.
2518c2ecf20Sopenharmony_ci      :Description: From the Introduction: "I/O Event handling is about
2528c2ecf20Sopenharmony_ci        how your Operating System allows you to manage a large number of
2538c2ecf20Sopenharmony_ci        open files (file descriptors in UNIX/POSIX, or FDs) in your
2548c2ecf20Sopenharmony_ci        application. You want the OS to notify you when FDs become active
2558c2ecf20Sopenharmony_ci        (have data ready to be read or are ready for writing). Ideally you
2568c2ecf20Sopenharmony_ci        want a mechanism that is scalable. This means a large number of
2578c2ecf20Sopenharmony_ci        inactive FDs cost very little in memory and CPU time to manage".
2588c2ecf20Sopenharmony_ci
2598c2ecf20Sopenharmony_ci    * Title: **(nearly) Complete Linux Loadable Kernel Modules. The definitive guide for hackers, virus coders and system administrators.**
2608c2ecf20Sopenharmony_ci
2618c2ecf20Sopenharmony_ci      :Author: pragmatic/THC.
2628c2ecf20Sopenharmony_ci      :URL: http://packetstormsecurity.org/docs/hack/LKM_HACKING.html
2638c2ecf20Sopenharmony_ci      :Date: 1999
2648c2ecf20Sopenharmony_ci      :Keywords: syscalls, intercept, hide, abuse, symbol table.
2658c2ecf20Sopenharmony_ci      :Description: Interesting paper on how to abuse the Linux kernel in
2668c2ecf20Sopenharmony_ci        order to intercept and modify syscalls, make
2678c2ecf20Sopenharmony_ci        files/directories/processes invisible, become root, hijack ttys,
2688c2ecf20Sopenharmony_ci        write kernel modules based virus... and solutions for admins to
2698c2ecf20Sopenharmony_ci        avoid all those abuses.
2708c2ecf20Sopenharmony_ci      :Notes: For 2.0.x kernels. Gives guidances to port it to 2.2.x
2718c2ecf20Sopenharmony_ci        kernels.
2728c2ecf20Sopenharmony_ci
2738c2ecf20Sopenharmony_ci    * Name: **Linux Virtual File System**
2748c2ecf20Sopenharmony_ci
2758c2ecf20Sopenharmony_ci      :Author: Peter J. Braam.
2768c2ecf20Sopenharmony_ci      :URL: http://www.coda.cs.cmu.edu/doc/talks/linuxvfs/
2778c2ecf20Sopenharmony_ci      :Date: 1998
2788c2ecf20Sopenharmony_ci      :Keywords: slides, VFS, inode, superblock, dentry, dcache.
2798c2ecf20Sopenharmony_ci      :Description: Set of slides, presumably from a presentation on the
2808c2ecf20Sopenharmony_ci        Linux VFS layer. Covers version 2.1.x, with dentries and the
2818c2ecf20Sopenharmony_ci        dcache.
2828c2ecf20Sopenharmony_ci
2838c2ecf20Sopenharmony_ci    * Title: **The Venus kernel interface**
2848c2ecf20Sopenharmony_ci
2858c2ecf20Sopenharmony_ci      :Author: Peter J. Braam.
2868c2ecf20Sopenharmony_ci      :URL: http://www.coda.cs.cmu.edu/doc/html/kernel-venus-protocol.html
2878c2ecf20Sopenharmony_ci      :Date: 1998
2888c2ecf20Sopenharmony_ci      :Keywords: coda, filesystem, venus, cache manager.
2898c2ecf20Sopenharmony_ci      :Description: "This document describes the communication between
2908c2ecf20Sopenharmony_ci        Venus and kernel level file system code needed for the operation
2918c2ecf20Sopenharmony_ci        of the Coda filesystem. This version document is meant to describe
2928c2ecf20Sopenharmony_ci        the current interface (version 1.0) as well as improvements we
2938c2ecf20Sopenharmony_ci        envisage".
2948c2ecf20Sopenharmony_ci
2958c2ecf20Sopenharmony_ci    * Title: **Design and Implementation of the Second Extended Filesystem**
2968c2ecf20Sopenharmony_ci
2978c2ecf20Sopenharmony_ci      :Author: Rémy Card, Theodore Ts'o, Stephen Tweedie.
2988c2ecf20Sopenharmony_ci      :URL: https://web.mit.edu/tytso/www/linux/ext2intro.html
2998c2ecf20Sopenharmony_ci      :Date: 1998
3008c2ecf20Sopenharmony_ci      :Keywords: ext2, linux fs history, inode, directory, link, devices,
3018c2ecf20Sopenharmony_ci        VFS, physical structure, performance, benchmarks, ext2fs library,
3028c2ecf20Sopenharmony_ci        ext2fs tools, e2fsck.
3038c2ecf20Sopenharmony_ci      :Description: Paper written by three of the top ext2 hackers.
3048c2ecf20Sopenharmony_ci        Covers Linux filesystems history, ext2 motivation, ext2 features,
3058c2ecf20Sopenharmony_ci        design, physical structure on disk, performance, benchmarks,
3068c2ecf20Sopenharmony_ci        e2fsck's passes description... A must read!
3078c2ecf20Sopenharmony_ci      :Notes: This paper was first published in the Proceedings of the
3088c2ecf20Sopenharmony_ci        First Dutch International Symposium on Linux, ISBN 90-367-0385-9.
3098c2ecf20Sopenharmony_ci
3108c2ecf20Sopenharmony_ci    * Title: **The Linux RAID-1, 4, 5 Code**
3118c2ecf20Sopenharmony_ci
3128c2ecf20Sopenharmony_ci      :Author: Ingo Molnar, Gadi Oxman and Miguel de Icaza.
3138c2ecf20Sopenharmony_ci      :URL: http://www.linuxjournal.com/article.php?sid=2391
3148c2ecf20Sopenharmony_ci      :Date: 1997
3158c2ecf20Sopenharmony_ci      :Keywords: RAID, MD driver.
3168c2ecf20Sopenharmony_ci      :Description: Linux Journal Kernel Korner article.
3178c2ecf20Sopenharmony_ci      :Abstract: *A description of the implementation of the RAID-1,
3188c2ecf20Sopenharmony_ci        RAID-4 and RAID-5 personalities of the MD device driver in the
3198c2ecf20Sopenharmony_ci        Linux kernel, providing users with high performance and reliable,
3208c2ecf20Sopenharmony_ci        secondary-storage capability using software*.
3218c2ecf20Sopenharmony_ci
3228c2ecf20Sopenharmony_ci    * Title: **Linux Kernel Hackers' Guide**
3238c2ecf20Sopenharmony_ci
3248c2ecf20Sopenharmony_ci      :Author: Michael K. Johnson.
3258c2ecf20Sopenharmony_ci      :URL: https://www.tldp.org/LDP/khg/HyperNews/get/khg.html
3268c2ecf20Sopenharmony_ci      :Date: 1997
3278c2ecf20Sopenharmony_ci      :Keywords: device drivers, files, VFS, kernel interface, character vs
3288c2ecf20Sopenharmony_ci        block devices, hardware interrupts, scsi, DMA, access to user memory,
3298c2ecf20Sopenharmony_ci        memory allocation, timers.
3308c2ecf20Sopenharmony_ci      :Description: A guide designed to help you get up to speed on the
3318c2ecf20Sopenharmony_ci        concepts that are not intuitevly obvious, and to document the internal
3328c2ecf20Sopenharmony_ci        structures of Linux.
3338c2ecf20Sopenharmony_ci
3348c2ecf20Sopenharmony_ci    * Title: **Dynamic Kernels: Modularized Device Drivers**
3358c2ecf20Sopenharmony_ci
3368c2ecf20Sopenharmony_ci      :Author: Alessandro Rubini.
3378c2ecf20Sopenharmony_ci      :URL: http://www.linuxjournal.com/article.php?sid=1219
3388c2ecf20Sopenharmony_ci      :Date: 1996
3398c2ecf20Sopenharmony_ci      :Keywords: device driver, module, loading/unloading modules,
3408c2ecf20Sopenharmony_ci        allocating resources.
3418c2ecf20Sopenharmony_ci      :Description: Linux Journal Kernel Korner article.
3428c2ecf20Sopenharmony_ci      :Abstract: *This is the first of a series of four articles
3438c2ecf20Sopenharmony_ci        co-authored by Alessandro Rubini and Georg Zezchwitz which present
3448c2ecf20Sopenharmony_ci        a practical approach to writing Linux device drivers as kernel
3458c2ecf20Sopenharmony_ci        loadable modules. This installment presents an introduction to the
3468c2ecf20Sopenharmony_ci        topic, preparing the reader to understand next month's
3478c2ecf20Sopenharmony_ci        installment*.
3488c2ecf20Sopenharmony_ci
3498c2ecf20Sopenharmony_ci    * Title: **Dynamic Kernels: Discovery**
3508c2ecf20Sopenharmony_ci
3518c2ecf20Sopenharmony_ci      :Author: Alessandro Rubini.
3528c2ecf20Sopenharmony_ci      :URL: http://www.linuxjournal.com/article.php?sid=1220
3538c2ecf20Sopenharmony_ci      :Date: 1996
3548c2ecf20Sopenharmony_ci      :Keywords: character driver, init_module, clean_up module,
3558c2ecf20Sopenharmony_ci        autodetection, mayor number, minor number, file operations,
3568c2ecf20Sopenharmony_ci        open(), close().
3578c2ecf20Sopenharmony_ci      :Description: Linux Journal Kernel Korner article.
3588c2ecf20Sopenharmony_ci      :Abstract: *This article, the second of four, introduces part of
3598c2ecf20Sopenharmony_ci        the actual code to create custom module implementing a character
3608c2ecf20Sopenharmony_ci        device driver. It describes the code for module initialization and
3618c2ecf20Sopenharmony_ci        cleanup, as well as the open() and close() system calls*.
3628c2ecf20Sopenharmony_ci
3638c2ecf20Sopenharmony_ci    * Title: **The Devil's in the Details**
3648c2ecf20Sopenharmony_ci
3658c2ecf20Sopenharmony_ci      :Author: Georg v. Zezschwitz and Alessandro Rubini.
3668c2ecf20Sopenharmony_ci      :URL: http://www.linuxjournal.com/article.php?sid=1221
3678c2ecf20Sopenharmony_ci      :Date: 1996
3688c2ecf20Sopenharmony_ci      :Keywords: read(), write(), select(), ioctl(), blocking/non
3698c2ecf20Sopenharmony_ci        blocking mode, interrupt handler.
3708c2ecf20Sopenharmony_ci      :Description: Linux Journal Kernel Korner article.
3718c2ecf20Sopenharmony_ci      :Abstract: *This article, the third of four on writing character
3728c2ecf20Sopenharmony_ci        device drivers, introduces concepts of reading, writing, and using
3738c2ecf20Sopenharmony_ci        ioctl-calls*.
3748c2ecf20Sopenharmony_ci
3758c2ecf20Sopenharmony_ci    * Title: **Dissecting Interrupts and Browsing DMA**
3768c2ecf20Sopenharmony_ci
3778c2ecf20Sopenharmony_ci      :Author: Alessandro Rubini and Georg v. Zezschwitz.
3788c2ecf20Sopenharmony_ci      :URL: https://www.linuxjournal.com/article.php?sid=1222
3798c2ecf20Sopenharmony_ci      :Date: 1996
3808c2ecf20Sopenharmony_ci      :Keywords: interrupts, irqs, DMA, bottom halves, task queues.
3818c2ecf20Sopenharmony_ci      :Description: Linux Journal Kernel Korner article.
3828c2ecf20Sopenharmony_ci      :Abstract: *This is the fourth in a series of articles about
3838c2ecf20Sopenharmony_ci        writing character device drivers as loadable kernel modules. This
3848c2ecf20Sopenharmony_ci        month, we further investigate the field of interrupt handling.
3858c2ecf20Sopenharmony_ci        Though it is conceptually simple, practical limitations and
3868c2ecf20Sopenharmony_ci        constraints make this an ''interesting'' part of device driver
3878c2ecf20Sopenharmony_ci        writing, and several different facilities have been provided for
3888c2ecf20Sopenharmony_ci        different situations. We also investigate the complex topic of
3898c2ecf20Sopenharmony_ci        DMA*.
3908c2ecf20Sopenharmony_ci
3918c2ecf20Sopenharmony_ci    * Title: **Device Drivers Concluded**
3928c2ecf20Sopenharmony_ci
3938c2ecf20Sopenharmony_ci      :Author: Georg v. Zezschwitz.
3948c2ecf20Sopenharmony_ci      :URL: https://www.linuxjournal.com/article.php?sid=1287
3958c2ecf20Sopenharmony_ci      :Date: 1996
3968c2ecf20Sopenharmony_ci      :Keywords: address spaces, pages, pagination, page management,
3978c2ecf20Sopenharmony_ci        demand loading, swapping, memory protection, memory mapping, mmap,
3988c2ecf20Sopenharmony_ci        virtual memory areas (VMAs), vremap, PCI.
3998c2ecf20Sopenharmony_ci      :Description: Finally, the above turned out into a five articles
4008c2ecf20Sopenharmony_ci        series. This latest one's introduction reads: "This is the last of
4018c2ecf20Sopenharmony_ci        five articles about character device drivers. In this final
4028c2ecf20Sopenharmony_ci        section, Georg deals with memory mapping devices, beginning with
4038c2ecf20Sopenharmony_ci        an overall description of the Linux memory management concepts".
4048c2ecf20Sopenharmony_ci
4058c2ecf20Sopenharmony_ci    * Title: **Network Buffers And Memory Management**
4068c2ecf20Sopenharmony_ci
4078c2ecf20Sopenharmony_ci      :Author: Alan Cox.
4088c2ecf20Sopenharmony_ci      :URL: https://www.linuxjournal.com/article.php?sid=1312
4098c2ecf20Sopenharmony_ci      :Date: 1996
4108c2ecf20Sopenharmony_ci      :Keywords: sk_buffs, network devices, protocol/link layer
4118c2ecf20Sopenharmony_ci        variables, network devices flags, transmit, receive,
4128c2ecf20Sopenharmony_ci        configuration, multicast.
4138c2ecf20Sopenharmony_ci      :Description: Linux Journal Kernel Korner.
4148c2ecf20Sopenharmony_ci      :Abstract: *Writing a network device driver for Linux is fundamentally
4158c2ecf20Sopenharmony_ci        simple---most of the complexity (other than talking to the
4168c2ecf20Sopenharmony_ci        hardware) involves managing network packets in memory*.
4178c2ecf20Sopenharmony_ci
4188c2ecf20Sopenharmony_ci    * Title: **Analysis of the Ext2fs structure**
4198c2ecf20Sopenharmony_ci
4208c2ecf20Sopenharmony_ci      :Author: Louis-Dominique Dubeau.
4218c2ecf20Sopenharmony_ci      :URL: https://teaching.csse.uwa.edu.au/units/CITS2002/fs-ext2/
4228c2ecf20Sopenharmony_ci      :Date: 1994
4238c2ecf20Sopenharmony_ci      :Keywords: ext2, filesystem, ext2fs.
4248c2ecf20Sopenharmony_ci      :Description: Description of ext2's blocks, directories, inodes,
4258c2ecf20Sopenharmony_ci        bitmaps, invariants...
4268c2ecf20Sopenharmony_ci
4278c2ecf20Sopenharmony_ciPublished books
4288c2ecf20Sopenharmony_ci---------------
4298c2ecf20Sopenharmony_ci
4308c2ecf20Sopenharmony_ci    * Title: **Linux Treiber entwickeln**
4318c2ecf20Sopenharmony_ci
4328c2ecf20Sopenharmony_ci      :Author: Jürgen Quade, Eva-Katharina Kunst
4338c2ecf20Sopenharmony_ci      :Publisher: dpunkt.verlag
4348c2ecf20Sopenharmony_ci      :Date: Oct 2015 (4th edition)
4358c2ecf20Sopenharmony_ci      :Pages: 688
4368c2ecf20Sopenharmony_ci      :ISBN: 978-3-86490-288-8
4378c2ecf20Sopenharmony_ci      :Note: German. The third edition from 2011 is
4388c2ecf20Sopenharmony_ci         much cheaper and still quite up-to-date.
4398c2ecf20Sopenharmony_ci
4408c2ecf20Sopenharmony_ci    * Title: **Linux Kernel Networking: Implementation and Theory**
4418c2ecf20Sopenharmony_ci
4428c2ecf20Sopenharmony_ci      :Author: Rami Rosen
4438c2ecf20Sopenharmony_ci      :Publisher: Apress
4448c2ecf20Sopenharmony_ci      :Date: December 22, 2013
4458c2ecf20Sopenharmony_ci      :Pages: 648
4468c2ecf20Sopenharmony_ci      :ISBN: 978-1430261964
4478c2ecf20Sopenharmony_ci
4488c2ecf20Sopenharmony_ci    * Title: **Embedded Linux Primer: A practical Real-World Approach, 2nd Edition**
4498c2ecf20Sopenharmony_ci
4508c2ecf20Sopenharmony_ci      :Author: Christopher Hallinan
4518c2ecf20Sopenharmony_ci      :Publisher: Pearson
4528c2ecf20Sopenharmony_ci      :Date: November, 2010
4538c2ecf20Sopenharmony_ci      :Pages: 656
4548c2ecf20Sopenharmony_ci      :ISBN: 978-0137017836
4558c2ecf20Sopenharmony_ci
4568c2ecf20Sopenharmony_ci    * Title: **Linux Kernel Development, 3rd Edition**
4578c2ecf20Sopenharmony_ci
4588c2ecf20Sopenharmony_ci      :Author: Robert Love
4598c2ecf20Sopenharmony_ci      :Publisher: Addison-Wesley
4608c2ecf20Sopenharmony_ci      :Date: July, 2010
4618c2ecf20Sopenharmony_ci      :Pages: 440
4628c2ecf20Sopenharmony_ci      :ISBN: 978-0672329463
4638c2ecf20Sopenharmony_ci
4648c2ecf20Sopenharmony_ci    * Title: **Essential Linux Device Drivers**
4658c2ecf20Sopenharmony_ci
4668c2ecf20Sopenharmony_ci      :Author: Sreekrishnan Venkateswaran
4678c2ecf20Sopenharmony_ci      :Published: Prentice Hall
4688c2ecf20Sopenharmony_ci      :Date: April, 2008
4698c2ecf20Sopenharmony_ci      :Pages: 744
4708c2ecf20Sopenharmony_ci      :ISBN: 978-0132396554
4718c2ecf20Sopenharmony_ci
4728c2ecf20Sopenharmony_ci.. _ldd3_published:
4738c2ecf20Sopenharmony_ci
4748c2ecf20Sopenharmony_ci    * Title: **Linux Device Drivers, 3rd Edition**
4758c2ecf20Sopenharmony_ci
4768c2ecf20Sopenharmony_ci      :Authors: Jonathan Corbet, Alessandro Rubini, and Greg Kroah-Hartman
4778c2ecf20Sopenharmony_ci      :Publisher: O'Reilly & Associates
4788c2ecf20Sopenharmony_ci      :Date: 2005
4798c2ecf20Sopenharmony_ci      :Pages: 636
4808c2ecf20Sopenharmony_ci      :ISBN: 0-596-00590-3
4818c2ecf20Sopenharmony_ci      :Notes: Further information in
4828c2ecf20Sopenharmony_ci        http://www.oreilly.com/catalog/linuxdrive3/
4838c2ecf20Sopenharmony_ci        PDF format, URL: https://lwn.net/Kernel/LDD3/
4848c2ecf20Sopenharmony_ci
4858c2ecf20Sopenharmony_ci    * Title: **Linux Kernel Internals**
4868c2ecf20Sopenharmony_ci
4878c2ecf20Sopenharmony_ci      :Author: Michael Beck
4888c2ecf20Sopenharmony_ci      :Publisher: Addison-Wesley
4898c2ecf20Sopenharmony_ci      :Date: 1997
4908c2ecf20Sopenharmony_ci      :ISBN: 0-201-33143-8 (second edition)
4918c2ecf20Sopenharmony_ci
4928c2ecf20Sopenharmony_ci    * Title: **Programmation Linux 2.0 API systeme et fonctionnement du noyau**
4938c2ecf20Sopenharmony_ci
4948c2ecf20Sopenharmony_ci      :Author: Remy Card, Eric Dumas, Franck Mevel
4958c2ecf20Sopenharmony_ci      :Publisher: Eyrolles
4968c2ecf20Sopenharmony_ci      :Date: 1997
4978c2ecf20Sopenharmony_ci      :Pages: 520
4988c2ecf20Sopenharmony_ci      :ISBN: 2-212-08932-5
4998c2ecf20Sopenharmony_ci      :Notes: French
5008c2ecf20Sopenharmony_ci
5018c2ecf20Sopenharmony_ci    * Title: **The Design and Implementation of the 4.4 BSD UNIX Operating System**
5028c2ecf20Sopenharmony_ci
5038c2ecf20Sopenharmony_ci      :Author: Marshall Kirk McKusick, Keith Bostic, Michael J. Karels,
5048c2ecf20Sopenharmony_ci        John S. Quarterman
5058c2ecf20Sopenharmony_ci      :Publisher: Addison-Wesley
5068c2ecf20Sopenharmony_ci      :Date: 1996
5078c2ecf20Sopenharmony_ci      :ISBN: 0-201-54979-4
5088c2ecf20Sopenharmony_ci
5098c2ecf20Sopenharmony_ci    * Title: **Unix internals -- the new frontiers**
5108c2ecf20Sopenharmony_ci
5118c2ecf20Sopenharmony_ci      :Author: Uresh Vahalia
5128c2ecf20Sopenharmony_ci      :Publisher: Prentice Hall
5138c2ecf20Sopenharmony_ci      :Date: 1996
5148c2ecf20Sopenharmony_ci      :Pages: 600
5158c2ecf20Sopenharmony_ci      :ISBN: 0-13-101908-2
5168c2ecf20Sopenharmony_ci
5178c2ecf20Sopenharmony_ci    * Title: **Programming for the real world - POSIX.4**
5188c2ecf20Sopenharmony_ci
5198c2ecf20Sopenharmony_ci      :Author: Bill O. Gallmeister
5208c2ecf20Sopenharmony_ci      :Publisher: O'Reilly & Associates, Inc
5218c2ecf20Sopenharmony_ci      :Date: 1995
5228c2ecf20Sopenharmony_ci      :Pages: 552
5238c2ecf20Sopenharmony_ci      :ISBN: I-56592-074-0
5248c2ecf20Sopenharmony_ci      :Notes: Though not being directly about Linux, Linux aims to be
5258c2ecf20Sopenharmony_ci        POSIX. Good reference.
5268c2ecf20Sopenharmony_ci
5278c2ecf20Sopenharmony_ci    * Title:  **UNIX  Systems  for  Modern Architectures: Symmetric Multiprocessing and Caching for Kernel Programmers**
5288c2ecf20Sopenharmony_ci
5298c2ecf20Sopenharmony_ci      :Author: Curt Schimmel
5308c2ecf20Sopenharmony_ci      :Publisher: Addison Wesley
5318c2ecf20Sopenharmony_ci      :Date: June, 1994
5328c2ecf20Sopenharmony_ci      :Pages: 432
5338c2ecf20Sopenharmony_ci      :ISBN: 0-201-63338-8
5348c2ecf20Sopenharmony_ci
5358c2ecf20Sopenharmony_ci    * Title: **The Design and Implementation of the 4.3 BSD UNIX Operating System**
5368c2ecf20Sopenharmony_ci
5378c2ecf20Sopenharmony_ci      :Author: Samuel J. Leffler, Marshall Kirk McKusick, Michael J
5388c2ecf20Sopenharmony_ci        Karels, John S. Quarterman
5398c2ecf20Sopenharmony_ci      :Publisher: Addison-Wesley
5408c2ecf20Sopenharmony_ci      :Date: 1989 (reprinted with corrections on October, 1990)
5418c2ecf20Sopenharmony_ci      :ISBN: 0-201-06196-1
5428c2ecf20Sopenharmony_ci
5438c2ecf20Sopenharmony_ci    * Title: **The Design of the UNIX Operating System**
5448c2ecf20Sopenharmony_ci
5458c2ecf20Sopenharmony_ci      :Author: Maurice J. Bach
5468c2ecf20Sopenharmony_ci      :Publisher: Prentice Hall
5478c2ecf20Sopenharmony_ci      :Date: 1986
5488c2ecf20Sopenharmony_ci      :Pages: 471
5498c2ecf20Sopenharmony_ci      :ISBN: 0-13-201757-1
5508c2ecf20Sopenharmony_ci
5518c2ecf20Sopenharmony_ciMiscellaneous
5528c2ecf20Sopenharmony_ci-------------
5538c2ecf20Sopenharmony_ci
5548c2ecf20Sopenharmony_ci    * Name: **Cross-Referencing Linux**
5558c2ecf20Sopenharmony_ci
5568c2ecf20Sopenharmony_ci      :URL: https://elixir.bootlin.com/
5578c2ecf20Sopenharmony_ci      :Keywords: Browsing source code.
5588c2ecf20Sopenharmony_ci      :Description: Another web-based Linux kernel source code browser.
5598c2ecf20Sopenharmony_ci        Lots of cross references to variables and functions. You can see
5608c2ecf20Sopenharmony_ci        where they are defined and where they are used.
5618c2ecf20Sopenharmony_ci
5628c2ecf20Sopenharmony_ci    * Name: **Linux Weekly News**
5638c2ecf20Sopenharmony_ci
5648c2ecf20Sopenharmony_ci      :URL: https://lwn.net
5658c2ecf20Sopenharmony_ci      :Keywords: latest kernel news.
5668c2ecf20Sopenharmony_ci      :Description: The title says it all. There's a fixed kernel section
5678c2ecf20Sopenharmony_ci        summarizing developers' work, bug fixes, new features and versions
5688c2ecf20Sopenharmony_ci        produced during the week. Published every Thursday.
5698c2ecf20Sopenharmony_ci
5708c2ecf20Sopenharmony_ci    * Name: **The home page of Linux-MM**
5718c2ecf20Sopenharmony_ci
5728c2ecf20Sopenharmony_ci      :Author: The Linux-MM team.
5738c2ecf20Sopenharmony_ci      :URL: https://linux-mm.org/
5748c2ecf20Sopenharmony_ci      :Keywords: memory management, Linux-MM, mm patches, TODO, docs,
5758c2ecf20Sopenharmony_ci        mailing list.
5768c2ecf20Sopenharmony_ci      :Description: Site devoted to Linux Memory Management development.
5778c2ecf20Sopenharmony_ci        Memory related patches, HOWTOs, links, mm developers... Don't miss
5788c2ecf20Sopenharmony_ci        it if you are interested in memory management development!
5798c2ecf20Sopenharmony_ci
5808c2ecf20Sopenharmony_ci    * Name: **Kernel Newbies IRC Channel and Website**
5818c2ecf20Sopenharmony_ci
5828c2ecf20Sopenharmony_ci      :URL: https://www.kernelnewbies.org
5838c2ecf20Sopenharmony_ci      :Keywords: IRC, newbies, channel, asking doubts.
5848c2ecf20Sopenharmony_ci      :Description: #kernelnewbies on irc.oftc.net.
5858c2ecf20Sopenharmony_ci        #kernelnewbies is an IRC network dedicated to the 'newbie'
5868c2ecf20Sopenharmony_ci        kernel hacker. The audience mostly consists of people who are
5878c2ecf20Sopenharmony_ci        learning about the kernel, working on kernel projects or
5888c2ecf20Sopenharmony_ci        professional kernel hackers that want to help less seasoned kernel
5898c2ecf20Sopenharmony_ci        people.
5908c2ecf20Sopenharmony_ci        #kernelnewbies is on the OFTC IRC Network.
5918c2ecf20Sopenharmony_ci        Try irc.oftc.net as your server and then /join #kernelnewbies.
5928c2ecf20Sopenharmony_ci        The kernelnewbies website also hosts articles, documents, FAQs...
5938c2ecf20Sopenharmony_ci
5948c2ecf20Sopenharmony_ci    * Name: **linux-kernel mailing list archives and search engines**
5958c2ecf20Sopenharmony_ci
5968c2ecf20Sopenharmony_ci      :URL: http://vger.kernel.org/vger-lists.html
5978c2ecf20Sopenharmony_ci      :URL: http://www.uwsg.indiana.edu/hypermail/linux/kernel/index.html
5988c2ecf20Sopenharmony_ci      :URL: http://groups.google.com/group/mlist.linux.kernel
5998c2ecf20Sopenharmony_ci      :Keywords: linux-kernel, archives, search.
6008c2ecf20Sopenharmony_ci      :Description: Some of the linux-kernel mailing list archivers. If
6018c2ecf20Sopenharmony_ci        you have a better/another one, please let me know.
6028c2ecf20Sopenharmony_ci
6038c2ecf20Sopenharmony_ci-------
6048c2ecf20Sopenharmony_ci
6058c2ecf20Sopenharmony_ciDocument last updated on Tue 2016-Sep-20
6068c2ecf20Sopenharmony_ci
6078c2ecf20Sopenharmony_ciThis document is based on:
6088c2ecf20Sopenharmony_ci https://www.dit.upm.es/~jmseyas/linux/kernel/hackers-docs.html
609