mirror of
https://github.com/torvalds/linux.git
synced 2026-03-14 04:26:15 +01:00
The behaviour of try_to_unmap_one() is difficult to follow because it performs different operations based on a fairly large set of flags used in different combinations. TTU_MUNLOCK is one such flag. However it is exclusively used by try_to_munlock() which specifies no other flags. Therefore rather than overload try_to_unmap_one() with unrelated behaviour split this out into it's own function and remove the flag. Link: https://lkml.kernel.org/r/20210616105937.23201-4-apopple@nvidia.com Signed-off-by: Alistair Popple <apopple@nvidia.com> Reviewed-by: Ralph Campbell <rcampbell@nvidia.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Cc: Ben Skeggs <bskeggs@redhat.com> Cc: Hugh Dickins <hughd@google.com> Cc: Jason Gunthorpe <jgg@nvidia.com> Cc: John Hubbard <jhubbard@nvidia.com> Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org> Cc: Peter Xu <peterx@redhat.com> Cc: Shakeel Butt <shakeelb@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| active_mm.rst | ||
| arch_pgtable_helpers.rst | ||
| balance.rst | ||
| cleancache.rst | ||
| free_page_reporting.rst | ||
| frontswap.rst | ||
| highmem.rst | ||
| hmm.rst | ||
| hugetlbfs_reserv.rst | ||
| hwpoison.rst | ||
| index.rst | ||
| ksm.rst | ||
| memory-model.rst | ||
| mmu_notifier.rst | ||
| numa.rst | ||
| overcommit-accounting.rst | ||
| page_frags.rst | ||
| page_migration.rst | ||
| page_owner.rst | ||
| remap_file_pages.rst | ||
| slub.rst | ||
| split_page_table_lock.rst | ||
| swap_numa.rst | ||
| transhuge.rst | ||
| unevictable-lru.rst | ||
| z3fold.rst | ||
| zsmalloc.rst | ||
| zswap.rst | ||