Skip to contentSkip to conversation

docs: consolidate core subsystems

PATCH Applied Costa Shulyupin 3 participants 4 messages Jun 22, 2023 – Jul 14, 2023 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: consolidate core subsystems

to make the page more organized as requested

---
 Documentation/subsystem-apis.rst | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)
Documentation/subsystem-apis.rst +14 -7
index b67a1b65855b..8664b05777c3 100644
@@ -10,6 +10,20 @@ is taken directly from the kernel source, with supplemental material added
 as needed (or at least as we managed to add it — probably *not* all that is
 needed).
 
+Core subsystems
+---------------
+
+.. toctree::
+   :maxdepth: 1
+
+   core-api/index
+   driver-api/index
+   mm/index
+   power/index
+   scheduler/index
+   timers/index
+   locking/index
+
 Human interfaces
 ----------------
 
@@ -39,9 +53,6 @@ Storage interfaces
 .. toctree::
    :maxdepth: 1
 
-   driver-api/index
-   core-api/index
-   locking/index
    accounting/index
    cpu-freq/index
    fpga/index
@@ -53,8 +64,6 @@ Storage interfaces
    netlabel/index
    networking/index
    pcmcia/index
-   power/index
-   timers/index
    spi/index
    w1/index
    watchdog/index
@@ -63,12 +72,10 @@ Storage interfaces
    accel/index
    security/index
    crypto/index
-   mm/index
    bpf/index
    usb/index
    PCI/index
    misc-devices/index
-   scheduler/index
    mhi/index
    peci/index
    wmi/index
Signature · 1 line
2.41.0
reviewer
#1 lore raw

Hi--

Quoted 19 lines · Costa Shulyupin

to make the page more organized as requested

---
 Documentation/subsystem-apis.rst | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)
Documentation/subsystem-apis.rst +4 -0
index b67a1b65855b..8664b05777c3 100644
@@ -10,6 +10,20 @@ is taken directly from the kernel source, with supplemental material added
 as needed (or at least as we managed to add it — probably *not* all that is
 needed).
 
+Core subsystems
+---------------
+
+.. toctree::

Documentation/subsystem-apis.rst is taken directly from the kernel source, with supplemental material added · line 26

Quoted 10 lines
Documentation/subsystem-apis.rst +10 -0
+   :maxdepth: 1
+
+   core-api/index
+   driver-api/index
+   mm/index
+   power/index
+   scheduler/index
+   timers/index
+   locking/index
+

In general I am OK with this grouping, except for 2 nits:

a. I'm not sure that locking is a subsystem (it's a core API IMO).

b. I often have trouble finding "filesystems" and I think that it should be
given a higher location in the TOC (somehow).

thanks.

Signature · 1 line
~Randy
#2 lore raw
Quoted 1 line · Randy Dunlap

a. I'm not sure that locking is a subsystem (it's a core API IMO).

Actually https://docs.kernel.org/locking/index.html describes more than just API.

Quoted 2 lines

b. I often have trouble finding "filesystems" and I think that it should be
given a higher location in the TOC (somehow).

I plan to put "filesystems" under "Storage subsystems" in the next patch.

Thanks
Costa