Commit 255ff62d authored by Baolin Wang's avatar Baolin Wang Committed by Andrew Morton
Browse files

docs: tmpfs: drop 'fadvise()' from the documentation

Drop 'fadvise()' from the doc, since fadvise() has no HUGEPAGE advise
currently.

Link: https://lkml.kernel.org/r/3a10bb49832f6d9827dc2c76aec0bf43a892876b.1732779148.git.baolin.wang@linux.alibaba.com


Signed-off-by: default avatarBaolin Wang <baolin.wang@linux.alibaba.com>
Reviewed-by: default avatarBarry Song <baohua@kernel.org>
Acked-by: default avatarDavid Hildenbrand <david@redhat.com>
Cc: Daniel Gomez <da.gomez@samsung.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
Cc: Lance Yang <ioworker0@gmail.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Ryan Roberts <ryan.roberts@arm.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 5a4550c9
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -382,10 +382,10 @@ never

within_size
    Only allocate huge page if it will be fully within i_size.
    Also respect fadvise()/madvise() hints;
    Also respect madvise() hints;

advise
    Only allocate huge pages if requested with fadvise()/madvise();
    Only allocate huge pages if requested with madvise();

Remember, that the kernel may use huge pages of all available sizes, and
that no fine control as for the internal tmpfs mount is available.
@@ -438,10 +438,10 @@ never

within_size
    Only allocate <size> huge page if it will be fully within i_size.
    Also respect fadvise()/madvise() hints;
    Also respect madvise() hints;

advise
    Only allocate <size> huge pages if requested with fadvise()/madvise();
    Only allocate <size> huge pages if requested with madvise();

Need of application restart
===========================