proc-optimise-smaps-for-shmem-entries.patch removed from -mm tree
The patch titled
Subject: proc: optimise smaps for shmem entries
has been removed from the -mm tree. Its filename was
proc-optimise-smaps-for-shmem-entries.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: "Matthew Wilcox (Oracle)" <[email protected]>
Subject: proc: optimise smaps for shmem entries
Avoid bumping the refcount on pages when we're only interested in the swap entries.
---
fs/proc/task_mmu.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-)
fs/proc/task_mmu.c renamed from fs/proc/task_mmu.c~proc-optimise-smaps-for-shmem-entries +1 -7
@@ -520,16 +520,10 @@ static void smaps_pte_entry(pte_t *pte, page =device_private_entry_to_page (swpent); }else if (unlikely (IS_ENABLED (CONFIG_SHMEM ) && mss->check_shmem_swap &&pte_none (*pte))) { - page =find_get_entry (vma->vm_file->f_mapping, + page =xa_load (&vma->vm_file->f_mapping->i_pages,linear_page_index (vma, addr)); -if (!page) -return ; -if (xa_is_value (page)) mss->swap +=PAGE_SIZE ; -else -put_page (page); -return ; }
_
Patches currently in -mm which might be from [email protected] are
xarray-add-xa_get_order.patch
xarray-add-xas_split.patch
xarray-add-xas_split-fix-2.patch xarray-add-xas_split-fix-3patch.patch mm-filemap-fix-storing-to-a-thp-shadow-entry.patch mm-filemap-fix-page-cache-removal-for-arbitrary-sized-thps.patch mm-memory-remove-page-fault-assumption-of-compound-page-size.patch mm-memory-remove-page-fault-assumption-of-compound-page-size-fix.patch mm-page_owner-change-split_page_owner-to-take-a-count.patch mm-huge_memory-fix-page_trans_huge_mapcount-assumption-of-thp-size.patch mm-huge_memory-fix-can_split_huge_page-assumption-of-thp-size.patch mm-rmap-fix-assumptions-of-thp-size.patch mm-truncate-fix-truncation-for-pages-of-arbitrary-size.patch mm-page-writeback-support-tail-pages-in-wait_for_stable_page.patch mm-vmscan-allow-arbitrary-sized-pages-to-be-paged-out.patch fs-add-a-filesystem-flag-for-thps.patch fs-do-not-update-nr_thps-for-mappings-which-support-thps.patch mm-readahead-add-define_readahead.patch mm-readahead-make-page_cache_ra_unbounded-take-a-readahead_control.patch mm-readahead-make-do_page_cache_ra-take-a-readahead_control.patch mm-readahead-add-page_cache_sync_ra-and-page_cache_async_ra.patch mm-rename-page_order-to-buddy_order.patch ramfs-fix-nommu-mmap-with-gaps-in-the-page-cache.patch harden-autofs-ioctl-table.patch mm-update-the-documentation-for-vfree.patch