File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 12211221mapped as well will see the memory writes immediately.
12221222\item memory mapping and setting access rights is used by the Electric Fence
12231223library which is used for error detection on dynamic memory use.
1224- \item There is also \texttt {madvise } system call that allows the process
1225- to give the kernel some hints in how it is going to access the (mapped) memory
1226- in given address range. E.g. the \texttt {MADV\_ SEQUENTIAL } advice implies
1227- the pages should be read-ahead and then freed once they are accessed.
1224+ \item There is also \texttt {madvise } system call (and its SUS compliant variant
1225+ \texttt {posix\_ madvise } that allows the process to give the kernel some hints
1226+ on how it is going to access the (mapped) memory in given address range.
1227+ E.g. the \texttt {MADV\_ SEQUENTIAL } advice implies the pages should be read-ahead
1228+ and then freed once they are accessed.
12281229\end {itemize }
12291230
12301231% %%%%
You can’t perform that action at this time.
0 commit comments