summaryrefslogtreecommitdiff
path: root/ipc/Makefile
diff options
context:
space:
mode:
authorYin Fengwei <fengwei.yin@intel.com>2023-08-02 16:14:02 +0100
committerAndrew Morton <akpm@linux-foundation.org>2023-08-24 16:20:26 -0700
commitde74976eb65151a2f568e477fc2e0032df5b22b4 (patch)
treefa36b6e03679eeaad213a391dde09527a9d665bf /ipc/Makefile
parent9f1f5b60e76d44fa85fef6970b7477f72d3999eb (diff)
downloadlinux-starfive-de74976eb65151a2f568e477fc2e0032df5b22b4.tar.gz
linux-starfive-de74976eb65151a2f568e477fc2e0032df5b22b4.tar.bz2
linux-starfive-de74976eb65151a2f568e477fc2e0032df5b22b4.zip
filemap: add filemap_map_folio_range()
filemap_map_folio_range() maps partial/full folio. Comparing to original filemap_map_pages(), it updates refcount once per folio instead of per page and gets minor performance improvement for large folio. With a will-it-scale.page_fault3 like app (change file write fault testing to read fault testing. Trying to upstream it to will-it-scale at [1]), got 2% performance gain on a 48C/96T Cascade Lake test box with 96 processes running against xfs. [1]: https://github.com/antonblanchard/will-it-scale/pull/37 Link: https://lkml.kernel.org/r/20230802151406.3735276-35-willy@infradead.org Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'ipc/Makefile')
0 files changed, 0 insertions, 0 deletions