mirror of https://github.com/mkerrisk/man-pages
madvise.2: Put MADV_SOFT_OFFLINE into kernel version order
Exceptionally, the lists on this page are in kernel version order rather than alphabetical order. But one entry was out of order. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
11c25e24c8
commit
6b1e34f2a4
|
@ -242,26 +242,6 @@ This operation may result in the calling process receiving a
|
|||
.B SIGBUS
|
||||
and the page being unmapped.
|
||||
|
||||
This feature is intended for testing of memory error-handling code;
|
||||
it is available only if the kernel was configured with
|
||||
.BR CONFIG_MEMORY_FAILURE .
|
||||
.TP
|
||||
.BR MADV_SOFT_OFFLINE " (since Linux 2.6.33)
|
||||
.\" commit afcf938ee0aac4ef95b1a23bac704c6fbeb26de6
|
||||
Soft offline the pages in the range specified by
|
||||
.I addr
|
||||
and
|
||||
.IR length .
|
||||
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 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 available only if the kernel was configured with
|
||||
.BR CONFIG_MEMORY_FAILURE .
|
||||
|
@ -303,6 +283,26 @@ KSM unmerges whatever pages it had merged in the address range specified by
|
|||
and
|
||||
.IR length .
|
||||
.TP
|
||||
.BR MADV_SOFT_OFFLINE " (since Linux 2.6.33)
|
||||
.\" commit afcf938ee0aac4ef95b1a23bac704c6fbeb26de6
|
||||
Soft offline the pages in the range specified by
|
||||
.I addr
|
||||
and
|
||||
.IR length .
|
||||
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 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 available only if the kernel was configured with
|
||||
.BR CONFIG_MEMORY_FAILURE .
|
||||
.TP
|
||||
.BR MADV_HUGEPAGE " (since Linux 2.6.38)"
|
||||
.\" commit 0af4e98b6b095c74588af04872f83d333c958c32
|
||||
.\" http://lwn.net/Articles/358904/
|
||||
|
|
Loading…
Reference in New Issue