mirror of https://github.com/mkerrisk/man-pages
madvise.2: Improve discussion of MADV_SOFT_OFFLINE
Reported-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
81a0028c21
commit
1ebc0ddb5f
|
@ -163,12 +163,14 @@ Soft offline the pages in the range specified by
|
|||
.I addr
|
||||
and
|
||||
.IR length .
|
||||
The memory of each page in the specified range is copied to a new page,
|
||||
The memory of each page in the specified range is preserved
|
||||
(i.e., when next accessed, the same content will be visible,
|
||||
but in a new physical page frame),
|
||||
and the original page is offlined
|
||||
(i.e., no longer used, and taken out of normal memory management).
|
||||
The effect of the
|
||||
.B MADV_SOFT_OFFLINE
|
||||
operation is normally invisible to (i.e., does not change the semantics of)
|
||||
operation is invisible to (i.e., does not change the semantics of)
|
||||
the calling process.
|
||||
This feature is intended for testing of memory error-handling code;
|
||||
it is only available if the kernel was configured with
|
||||
|
|
Loading…
Reference in New Issue