Skip to content

Commit 6f851f7

Browse files
committed
Better language.
1 parent 5184505 commit 6f851f7

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

proc.tex

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1125,7 +1125,7 @@
11251125
\item It is possible to share anonymous mapping between processes using
11261126
\texttt{fork()}. The only alternative is shared memory established using
11271127
\texttt{shmat}.
1128-
\item Access to the mapped region beyond the existing page of mapped object
1128+
\item Access to the mapped region beyond the existing page of a mapped object
11291129
causes \texttt{SIGBUS} or \texttt{SIGSEGV} signal.
11301130
This is not universally true, see example \example{mmap/sigsegv.c}.
11311131
\item When using \texttt{MAP\_FIXED} the new mapping will replace any existing
@@ -1143,9 +1143,9 @@
11431143
\item in IRIX it is possible to use \texttt{MAP\_AUTOGROW} that will
11441144
automatically grow mapped object when accessing beyond its current end.
11451145
\end{itemize}
1146-
\item Example of system command using file mapping is \texttt{cat(1)}.
1147-
Using mapped memory is more efficient than calling \texttt{read} repeatedly,
1148-
saving the overhead necessary for switching to kernel and back to userspace.
1146+
\item Example of a system command using file mapping is \texttt{cat(1)}. Using
1147+
mapped memory is more efficient than calling \texttt{read} repeatedly, saving
1148+
the overhead necessary for switching to kernel and back to userspace.
11491149
\end{itemize}
11501150

11511151
%%%%%
@@ -1188,15 +1188,13 @@
11881188
\end{slide}
11891189

11901190
\begin{itemize}
1191-
\item writing the changes to the storage is guaranteed only after
1192-
\texttt{msync} or \texttt{munmap}, however other processes that have the file
1193-
mapped as well will see the changes immediately.
1194-
\item mapping to memory and setting access rights is used by the
1195-
Electric Fence library, which is used for detection of errors when using
1196-
dynamic memory.
1191+
\item writing changes to the backing storage is guaranteed only after
1192+
\texttt{msync} or \texttt{munmap}. However other processes that have the file
1193+
mapped as well will see the memory writes immediately.
1194+
\item memory mapping and setting access rights is used by the Electric Fence
1195+
library which is used for error detection on dynamic memory use.
11971196
\end{itemize}
11981197

1199-
12001198
%%%%%
12011199

12021200
\begin{slide}

0 commit comments

Comments
 (0)