madvise.2: Clarify MADV_HWPOISON wording to say that it applies to a page range

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-02-06 12:24:54 +01:00
parent 20cc8fa829
commit 11c25e24c8
1 changed files with 6 additions and 1 deletions

View File

@ -229,7 +229,12 @@ restoring the default behavior, whereby a mapping is inherited across
.TP
.BR MADV_HWPOISON " (since Linux 2.6.32)
.\" commit 9893e49d64a4874ea67849ee2cfbf3f3d6817573
Poison a page and handle it like a hardware memory corruption.
Poison the pages in the range specified by
.I addr
and
.IR length
and handle subsequent references to those pages
like a hardware memory corruption.
This operation is available only for privileged
.RB ( CAP_SYS_ADMIN )
processes.