* [PATCH] madvise.2: update the description for MADV_REMOVE
@ 2014-06-24 23:31 Wang Sheng-Hui
[not found] ` <53AA0A35.9060100-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Wang Sheng-Hui @ 2014-06-24 23:31 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
linux-man-u79uwXL29TY76Z2rM5mHXA, rientjes-hpIqsD4AKlfQT0dZR+AlfA
Currently we have more filesystems supporting fallcate, e.g ext4/btrfs,
which can response to MADV_REMOVE gracefully.
Update the MADV_REMOVE description.
Signed-off-by: Wang Sheng-Hui <shhuiw-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
man2/madvise.2 | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/man2/madvise.2 b/man2/madvise.2
index 032ead7..510530c 100644
--- a/man2/madvise.2
+++ b/man2/madvise.2
@@ -99,12 +99,8 @@ or zero-fill-on-demand pages for mappings
without an underlying file.
.TP
.BR MADV_REMOVE " (since Linux 2.6.16)"
-Free up a given range of pages
-and its associated backing store.
-Currently,
-.\" 2.6.18-rc5
-only shmfs/tmpfs supports this; other filesystems return with the
-error
+Free up a given range of pages and its associated backing store.
+Filesystems that don't support fallocate will return error
.BR ENOSYS .
.\" Databases want to use this feature to drop a section of their
.\" bufferpool (shared memory segments) - without writing back to
--
1.8.3.2
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-06-24 23:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-24 23:31 [PATCH] madvise.2: update the description for MADV_REMOVE Wang Sheng-Hui
[not found] ` <53AA0A35.9060100-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-06-24 23:40 ` Wang Sheng-Hui
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox