From: tyberry@redhat.com Date: Tue, 26 Nov 2024 16:12:03 +0000 (-0500) Subject: madvise.2: MADV_SOFT_OFFLINE requests can report EBUSY X-Git-Tag: man-pages-6.10~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f505f11556a13dd229dea904f54da2c1f3f90d4;p=thirdparty%2Fman-pages.git madvise.2: MADV_SOFT_OFFLINE requests can report EBUSY If the page could not be offlined madvise will report EBUSY. This might occur if the page is currently in use or locked. Signed-off-by: Tyonnchie Berry Message-Id: Acked-by: "Luis Claudio R. Goncalves" [alx: wfix, ffix, and other tweaks] Signed-off-by: Alejandro Colomar --- diff --git a/man/man2/madvise.2 b/man/man2/madvise.2 index 4f2210ee2..0dd481d21 100644 --- a/man/man2/madvise.2 +++ b/man/man2/madvise.2 @@ -702,6 +702,13 @@ The map exists, but the area maps something that isn't a file. .BR MADV_COLLAPSE ) Could not charge hugepage to cgroup: cgroup limit exceeded. .TP +.B EBUSY +(for +.BR MADV_SOFT_OFFLINE ) +Any pages within the specified address range +could not be offlined. +This might occur if the page is currently in use or locked. +.TP .B EFAULT .I advice is