Bläddra i källkod

Merge pull request #164 from linD026/file-proc_ops

Improve the description of proc in file-ops
Jim Huang 2 år sedan
förälder
incheckning
53c2794fdb
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      lkmpg.tex

+ 2 - 1
lkmpg.tex

@@ -954,7 +954,8 @@ An instance of \cpp|struct file_operations| containing pointers to functions tha
 Since Linux v3.14, the read, write and seek operations are guaranteed for thread-safe by using the \cpp|f_pos| specific lock, which makes the file position update to become the mutual exclusion.
 Since Linux v3.14, the read, write and seek operations are guaranteed for thread-safe by using the \cpp|f_pos| specific lock, which makes the file position update to become the mutual exclusion.
 So, we can safely implement those operations without unnecessary locking.
 So, we can safely implement those operations without unnecessary locking.
 
 
-Since Linux v5.6, the \cpp|proc_ops| structure was introduced to replace the use of the \cpp|file_operations| structure when registering proc handlers.
+Additionally, since Linux v5.6, the \cpp|proc_ops| structure was introduced to replace the use of the \cpp|file_operations| structure when registering proc handlers.
+See more information in the \ref{sec:proc_ops} section.
 
 
 \subsection{The file structure}
 \subsection{The file structure}
 \label{sec:file_struct}
 \label{sec:file_struct}