summaryrefslogtreecommitdiff
path: root/lib/checksum.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2020-10-16 06:06:03 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2020-10-16 21:11:15 +0300
commit6f4d2f9770cf154f9867f466d7b1b463a39f05a7 (patch)
tree0f524a2c3253bab5feae5c5e85c0bcca217ab959 /lib/checksum.c
parent01c70267053d6718820ac0902d8823d5dd2a6adb (diff)
downloadlinux-6f4d2f9770cf154f9867f466d7b1b463a39f05a7.tar.xz
fs: do not update nr_thps for mappings which support THPs
The nr_thps counter is to support THPs in the page cache when the filesystem doesn't understand THPs. Eventually it will be removed, but we should still support filesystems which do not understand THPs yet. Move the nr_thp manipulation functions to filemap.h since they're page-cache specific. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Cc: Alexander Viro <viro@zeniv.linux.org.uk> Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org> Cc: Hugh Dickins <hughd@google.com> Cc: Song Liu <songliubraving@fb.com> Cc: Rik van Riel <riel@surriel.com> Cc: "Kirill A . Shutemov" <kirill.shutemov@linux.intel.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Dave Chinner <dchinner@redhat.com> Cc: Christoph Hellwig <hch@infradead.org> Link: https://lkml.kernel.org/r/20200916032717.22917-2-willy@infradead.org Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/checksum.c')
0 files changed, 0 insertions, 0 deletions