From: наб Date: Sun, 23 Jan 2022 12:34:28 +0000 (+0100) Subject: memfd_secret.2: mention that it inhibits hibernation X-Git-Tag: man-pages-5.19-rc1~790 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=881998d57f63c141fa4033150bdcfa0a8921b0ce;p=thirdparty%2Fman-pages.git memfd_secret.2: mention that it inhibits hibernation Ref: https://lore.kernel.org/all/20210518072034.31572-6-rppt@kernel.org/ Signed-off-by: Ahelenia Ziemiańska Cc: Mike Rapoport Signed-off-by: Alejandro Colomar --- diff --git a/man2/memfd_secret.2 b/man2/memfd_secret.2 index 1b4e829547..28c2f177a4 100644 --- a/man2/memfd_secret.2 +++ b/man2/memfd_secret.2 @@ -101,7 +101,10 @@ unless the close-on-exec flag has been set. .PP The memory region is locked into memory in the same way as with .BR mlock (2), -so that it will never be written into swap. +so that it will never be written into swap, +and hibernation is inhibited for as long as any +.BR memfd_secret () +descriptions exist. However the implementation of .BR memfd_secret () will not try to populate the whole range during the