diff options
author | Hugh Dickins <hughd@google.com> | 2022-03-24 18:09:52 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-03-24 19:06:45 -0700 |
commit | 85207ad8ea21156387fd0273e5360189df163661 (patch) | |
tree | 3740f14d9c0660c16bdc64fdfaf0c7134942ba5c /mm/mempool.c | |
parent | bb43b14b576228c580bdc7e1aeeded54d540b5ef (diff) | |
download | linux-stable-85207ad8ea21156387fd0273e5360189df163661.tar.gz linux-stable-85207ad8ea21156387fd0273e5360189df163661.tar.bz2 linux-stable-85207ad8ea21156387fd0273e5360189df163661.zip |
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 'mm/mempool.c')
0 files changed, 0 insertions, 0 deletions