posix_fadvise.2: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-12-30 21:48:30 +01:00
parent ceb1c326b9
commit 4bcf6cdf93
1 changed files with 7 additions and 4 deletions

View File

@ -154,10 +154,13 @@ A program may periodically request the kernel to free cached data
that has already been used, so that more useful cached pages are not that has already been used, so that more useful cached pages are not
discarded instead. discarded instead.
Requests to discard partial pages are ignored. It is preferable to preserve Requests to discard partial pages are ignored.
needed data than discard unneeded data. If the application requires that It is preferable to preserve needed data than discard unneeded data.
data be considered for discarding then \fIoffset\fP and \fIlen\fP must be If the application requires that data be considered for discarding then
page-aligned. .I offset
and
.I len
must be page-aligned.
Pages that have not yet been written out will be unaffected, so if the Pages that have not yet been written out will be unaffected, so if the
application wishes to guarantee that pages will be released, it should application wishes to guarantee that pages will be released, it should