From 115e0a97e9bbd964dd1c0a1d54cf462be39ba8d4 Mon Sep 17 00:00:00 2001 From: Old-Ding <35417409+Old-Ding@users.noreply.github.com> Date: Mon, 6 Jul 2026 00:05:47 +0800 Subject: [PATCH] Documentation: Fix kernel module wording. Fix repeated and misspelled words in the kernel modules versus shared libraries implementation notes so the text reads correctly. Signed-off-by: Old-Ding <35417409+Old-Ding@users.noreply.github.com> --- .../implementation/kernel_modules_vs_shared_libraries.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/implementation/kernel_modules_vs_shared_libraries.rst b/Documentation/implementation/kernel_modules_vs_shared_libraries.rst index 73f5cd60158..0334393d99a 100644 --- a/Documentation/implementation/kernel_modules_vs_shared_libraries.rst +++ b/Documentation/implementation/kernel_modules_vs_shared_libraries.rst @@ -87,7 +87,7 @@ two address spaces: The kernel address space and the user address space. But all applications still share the same user address spaces. As a result ``.text`` along with ``.data`` and ``.bss`` are naturally shared. -This requires using two copies of the the module logic: One residing in kernel +This requires using two copies of the module logic: One residing in kernel address space and using the kernel symbol table and one residing in user space using the user space symbol table. The first provides only kernel module support; the second only PROTECTED mode @@ -139,7 +139,7 @@ In the PROTECTED build, this would require some special start-up logic in the user address space as the initial steps of the newly started task. Some kind of dynamic loader, such as ``ld.so``, would have to integrate with ``crt0`` logic to automatically bind user space tasks to shared libraries -as they are loaded into and memory before the programs ``main()`` function +as they are loaded into memory before the programs ``main()`` function is called. @@ -147,7 +147,7 @@ KERNEL Build ============ The KERNEL build, however, is a completely different creature. -In that build, the kernel and each process has its own adress space. +In that build, the kernel and each process has its own address space. This means that a shared library in the kernel build has to be considerably more complex: In order to be shared, the ``.text`` portion of the module