Silvio Fricke | 24755a5 | 2016-10-28 10:14:10 +0200 | [diff] [blame] | 1 | ====================== |
Jonathan Corbet | 93dc3a1 | 2016-11-18 17:06:13 -0700 | [diff] [blame] | 2 | Core API Documentation |
Silvio Fricke | 24755a5 | 2016-10-28 10:14:10 +0200 | [diff] [blame] | 3 | ====================== |
| 4 | |
Jonathan Corbet | 93dc3a1 | 2016-11-18 17:06:13 -0700 | [diff] [blame] | 5 | This is the beginning of a manual for core kernel APIs. The conversion |
| 6 | (and writing!) of documents for this manual is much appreciated! |
| 7 | |
| 8 | Core utilities |
| 9 | ============== |
Silvio Fricke | 24755a5 | 2016-10-28 10:14:10 +0200 | [diff] [blame] | 10 | |
Jonathan Corbet | 5e72017 | 2020-03-02 15:17:17 -0700 | [diff] [blame] | 11 | This section has general and "core core" documentation. The first is a |
| 12 | massive grab-bag of kerneldoc info left over from the docbook days; it |
| 13 | should really be broken up someday when somebody finds the energy to do |
| 14 | it. |
| 15 | |
Silvio Fricke | 24755a5 | 2016-10-28 10:14:10 +0200 | [diff] [blame] | 16 | .. toctree:: |
| 17 | :maxdepth: 1 |
| 18 | |
Mauro Carvalho Chehab | baca8a0 | 2017-03-30 17:11:32 -0300 | [diff] [blame] | 19 | kernel-api |
Jonathan Corbet | 5e72017 | 2020-03-02 15:17:17 -0700 | [diff] [blame] | 20 | workqueue |
Ricardo CaƱuelo | 90c165f | 2020-04-03 11:36:17 +0200 | [diff] [blame] | 21 | printk-basics |
Jonathan Corbet | 5e72017 | 2020-03-02 15:17:17 -0700 | [diff] [blame] | 22 | printk-formats |
| 23 | symbol-namespaces |
| 24 | |
| 25 | Data structures and low-level utilities |
| 26 | ======================================= |
| 27 | |
| 28 | Library functionality that is used throughout the kernel. |
| 29 | |
| 30 | .. toctree:: |
| 31 | :maxdepth: 1 |
| 32 | |
Sameer Rahmani | 5fed00d | 2020-02-25 22:21:25 +0000 | [diff] [blame] | 33 | kobject |
Mauro Carvalho Chehab | 1ac0066 | 2020-05-01 17:37:52 +0200 | [diff] [blame] | 34 | kref |
Silvio Fricke | c3cbf1a | 2016-11-28 18:30:53 +0100 | [diff] [blame] | 35 | assoc_array |
Matthew Wilcox | 992a8e6 | 2017-11-23 22:57:20 -0500 | [diff] [blame] | 36 | xarray |
Jonathan Corbet | 5e72017 | 2020-03-02 15:17:17 -0700 | [diff] [blame] | 37 | idr |
Mauro Carvalho Chehab | d8a121e | 2018-05-07 06:35:43 -0300 | [diff] [blame] | 38 | circular-buffers |
Matthew Wilcox (Oracle) | 14bbe3e | 2020-04-01 10:33:43 -0700 | [diff] [blame] | 39 | rbtree |
Kent Overstreet | ba20ba2 | 2019-03-11 23:31:14 -0700 | [diff] [blame] | 40 | generic-radix-tree |
Jonathan Corbet | 5e72017 | 2020-03-02 15:17:17 -0700 | [diff] [blame] | 41 | packing |
Mauro Carvalho Chehab | c9b54d6 | 2020-06-23 15:31:38 +0200 | [diff] [blame] | 42 | bus-virt-phys-mapping |
| 43 | this_cpu_ops |
Jonathan Corbet | 5e72017 | 2020-03-02 15:17:17 -0700 | [diff] [blame] | 44 | timekeeping |
| 45 | errseq |
| 46 | |
| 47 | Concurrency primitives |
| 48 | ====================== |
| 49 | |
| 50 | How Linux keeps everything from happening at the same time. See |
Mauro Carvalho Chehab | a822b2e | 2021-06-16 08:27:23 +0200 | [diff] [blame] | 51 | Documentation/locking/index.rst for more related documentation. |
Jonathan Corbet | 5e72017 | 2020-03-02 15:17:17 -0700 | [diff] [blame] | 52 | |
| 53 | .. toctree:: |
| 54 | :maxdepth: 1 |
| 55 | |
Jonathan Corbet | 5e72017 | 2020-03-02 15:17:17 -0700 | [diff] [blame] | 56 | refcount-vs-atomic |
Mauro Carvalho Chehab | e00b0ab | 2020-05-01 17:37:51 +0200 | [diff] [blame] | 57 | irq/index |
Jonathan Corbet | 5e72017 | 2020-03-02 15:17:17 -0700 | [diff] [blame] | 58 | local_ops |
| 59 | padata |
| 60 | ../RCU/index |
| 61 | |
| 62 | Low-level hardware management |
| 63 | ============================= |
| 64 | |
| 65 | Cache management, managing CPU hotplug, etc. |
| 66 | |
| 67 | .. toctree:: |
| 68 | :maxdepth: 1 |
| 69 | |
| 70 | cachetlb |
| 71 | cpu_hotplug |
| 72 | memory-hotplug |
| 73 | genericirq |
| 74 | protection-keys |
| 75 | |
| 76 | Memory management |
| 77 | ================= |
| 78 | |
| 79 | How to allocate and use memory in the kernel. Note that there is a lot |
Mauro Carvalho Chehab | a822b2e | 2021-06-16 08:27:23 +0200 | [diff] [blame] | 80 | more memory-management documentation in Documentation/vm/index.rst. |
Jonathan Corbet | 5e72017 | 2020-03-02 15:17:17 -0700 | [diff] [blame] | 81 | |
| 82 | .. toctree:: |
| 83 | :maxdepth: 1 |
| 84 | |
Mike Rapoport | 52272c9 | 2018-09-14 12:27:58 +0300 | [diff] [blame] | 85 | memory-allocation |
Mauro Carvalho Chehab | c9b54d6 | 2020-06-23 15:31:38 +0200 | [diff] [blame] | 86 | unaligned-memory-access |
Mauro Carvalho Chehab | 728c147 | 2020-05-01 17:37:45 +0200 | [diff] [blame] | 87 | dma-api |
| 88 | dma-api-howto |
| 89 | dma-attributes |
| 90 | dma-isa-lpc |
Mike Rapoport | 41f35b3 | 2018-08-23 17:01:12 -0700 | [diff] [blame] | 91 | mm-api |
Jonathan Corbet | 5e72017 | 2020-03-02 15:17:17 -0700 | [diff] [blame] | 92 | genalloc |
John Hubbard | eddb1c2 | 2020-01-30 22:12:54 -0800 | [diff] [blame] | 93 | pin_user_pages |
Mike Rapoport | ae9d884 | 2018-06-30 17:55:06 +0300 | [diff] [blame] | 94 | boot-time-mm |
Jonathan Corbet | 5e72017 | 2020-03-02 15:17:17 -0700 | [diff] [blame] | 95 | gfp_mask-from-fs-io |
Silvio Fricke | e7f08ff | 2016-10-28 10:14:11 +0200 | [diff] [blame] | 96 | |
Jonathan Corbet | 93dc3a1 | 2016-11-18 17:06:13 -0700 | [diff] [blame] | 97 | Interfaces for kernel debugging |
| 98 | =============================== |
| 99 | |
| 100 | .. toctree:: |
| 101 | :maxdepth: 1 |
| 102 | |
Jonathan Corbet | d6ba7a9 | 2016-11-18 17:21:32 -0700 | [diff] [blame] | 103 | debug-objects |
| 104 | tracepoint |
Mauro Carvalho Chehab | a74e2a2 | 2020-05-01 17:37:50 +0200 | [diff] [blame] | 105 | debugging-via-ohci1394 |
Jonathan Corbet | 93dc3a1 | 2016-11-18 17:06:13 -0700 | [diff] [blame] | 106 | |
Jonathan Corbet | 5e72017 | 2020-03-02 15:17:17 -0700 | [diff] [blame] | 107 | Everything else |
| 108 | =============== |
| 109 | |
| 110 | Documents that don't fit elsewhere or which have yet to be categorized. |
| 111 | |
| 112 | .. toctree:: |
| 113 | :maxdepth: 1 |
| 114 | |
| 115 | librs |
Jonathan Corbet | 5e72017 | 2020-03-02 15:17:17 -0700 | [diff] [blame] | 116 | |
Mauro Carvalho Chehab | 9c970ab | 2019-07-26 09:51:29 -0300 | [diff] [blame] | 117 | .. only:: subproject and html |
Silvio Fricke | 24755a5 | 2016-10-28 10:14:10 +0200 | [diff] [blame] | 118 | |
| 119 | Indices |
| 120 | ======= |
| 121 | |
| 122 | * :ref:`genindex` |