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:
Michael Kerrisk 2010-06-26 15:21:32 +02:00
parent 81a0028c21
commit 1ebc0ddb5f
1 changed files with 4 additions and 2 deletions

View File

@ -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