summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorHugh Dickins <hughd@google.com>2022-03-25 04:09:52 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2022-03-25 05:06:45 +0300
commit85207ad8ea21156387fd0273e5360189df163661 (patch)
tree3740f14d9c0660c16bdc64fdfaf0c7134942ba5c /samples
parentbb43b14b576228c580bdc7e1aeeded54d540b5ef (diff)
downloadlinux-85207ad8ea21156387fd0273e5360189df163661.tar.xz
mm: filemap_unaccount_folio() large skip mapcount fixup
The page_mapcount_reset() when folio_mapped() while mapping_exiting() was devised long before there were huge or compound pages in the cache. It is still valid for small pages, but not at all clear what's right to check and reset on large pages. Just don't try when folio_test_large(). Link: https://lkml.kernel.org/r/879c4426-4122-da9c-1a86-697f2c9a083@google.com Signed-off-by: Hugh Dickins <hughd@google.com> Cc: Matthew Wilcox <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions