madvise.2: update the description for MADV_REMOVE
PATCH 1/1 madvise.2: update the description for MADV_REMOVE
Currently we have more filesystems supporting fallcate, e.g ext4/btrfs, which can response to MADV_REMOVE gracefully.
Update the MADV_REMOVE description.
--- man2/madvise.2 | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)
man2/madvise.2 +2 -6
@@ -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
Signature · 6 lines
1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Sorry, miss updating the return error.
Please ignore this patch.
Will send out a new patch later.
Regards,
Sheng-Hui
Quoted 21 lines · Wang Sheng-Hui
Currently we have more filesystems supporting fallcate, e.g ext4/btrfs, which can response to
MADV_REMOVEgracefully.Update the
MADV_REMOVEdescription.Signed-off-by Wang Sheng-Hui <[email protected]>--- man2/madvise.2 | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)man2/madvise.2 +0
-1@@ -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
man2/madvise.2 or zero-fill-on-demand pages for mappings · line 106
Quoted 10 lines
man2/madvise.2 +2
-5-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
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html