mirror of https://github.com/mkerrisk/man-pages
posix_fadvise.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
ceb1c326b9
commit
4bcf6cdf93
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue