You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove extra spaces before \item under \begin{itemize} to normalize
indentation. This change is formatting-only and does not alter any text
content. Normalized style reduces unnecessary diff noise and improves
consistency across the document.
Co-authored-by: EricccTaiwan <[email protected]>
Signed-off-by: Chia-Hao Chiu <[email protected]>
Copy file name to clipboardExpand all lines: lkmpg.tex
+21-21Lines changed: 21 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -1109,7 +1109,7 @@ \subsection{Unregistering A Device}
1109
1109
You should not use this counter directly, but there are functions defined in \src{include/linux/module.h} which let you display this counter:
1110
1110
1111
1111
\begin{itemize}
1112
-
\item\cpp|module_refcount(THIS_MODULE)|: Return the value of reference count of current module.
1112
+
\item\cpp|module_refcount(THIS_MODULE)|: Return the value of reference count of current module.
1113
1113
\end{itemize}
1114
1114
1115
1115
Note: The use of \cpp|try_module_get(THIS_MODULE)| and \cpp|module_put(THIS_MODULE)| within a module's own code is considered unsafe and should be avoided.
@@ -1296,8 +1296,8 @@ \subsection{Manage /proc file with seq\_file}
1296
1296
If you want more information, you can read this web page:
\item\href{https://lwn.net/Articles/569635/}{Kernel address space layout randomization}
1570
1570
\end{itemize}
1571
1571
1572
1572
The source code here is an example of such a kernel module.
@@ -1782,10 +1782,10 @@ \subsection{Spinlocks}
1782
1782
Unlike \cpp|spin_lock_irq()| and \cpp|spin_lock_irqsave()|, which disable both hardware and software interrupts, \cpp|spin_lock_bh()| is useful when hardware interrupts need to remain active.
1783
1783
1784
1784
For more information about spinlock usage and lock types, see the following resources:
0 commit comments