summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorJoao Martins <joao.m.martins@oracle.com>2022-04-28 23:16:15 -0700
committerakpm <akpm@linux-foundation.org>2022-04-28 23:16:15 -0700
commit2beea70a3edc03608ecc89b13ba9ba669c56b3fd (patch)
tree223e67c2b67d6cbd954dbb2157c9450af7542b98 /tools/perf/scripts/python/sctop.py
parente3246d8f52173a798710314a42fea83223036fc8 (diff)
downloadkernel-2beea70a3edc03608ecc89b13ba9ba669c56b3fd.tar.gz
mm/sparse-vmemmap: refactor core of vmemmap_populate_basepages() to helper
In preparation for describing a memmap with compound pages, move the actual pte population logic into a separate function vmemmap_populate_address() and have a new helper vmemmap_populate_range() walk through all base pages it needs to populate. While doing that, change the helper to use a pte_t* as return value, rather than an hardcoded errno of 0 or -ENOMEM. Link: https://lkml.kernel.org/r/20220420155310.9712-3-joao.m.martins@oracle.com Signed-off-by: Joao Martins <joao.m.martins@oracle.com> Reviewed-by: Muchun Song <songmuchun@bytedance.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Dan Williams <dan.j.williams@intel.com> Cc: Jane Chu <jane.chu@oracle.com> Cc: Jason Gunthorpe <jgg@ziepe.ca> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Matthew Wilcox <willy@infradead.org> Cc: Mike Kravetz <mike.kravetz@oracle.com> Cc: Vishal Verma <vishal.l.verma@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
ab and vmalloc allocators __GFP_NOLOCKDEP awareMichal Hocko 2022-01-15mm: memcontrol: make cgroup_memory_nokmem staticMuchun Song 2022-01-08truncate,shmem: Handle truncates that split large foliosMatthew Wilcox (Oracle) 2022-01-08mm: Convert find_lock_entries() to use a folio_batchMatthew Wilcox (Oracle) 2022-01-08filemap: Return only folios from find_get_entries()Matthew Wilcox (Oracle) 2022-01-08truncate: Add invalidate_complete_folio2()Matthew Wilcox (Oracle) 2022-01-08truncate,shmem: Add truncate_inode_folio()Matthew Wilcox (Oracle) 2022-01-08mm: Add unmap_mapping_folio()Matthew Wilcox (Oracle) 2021-11-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds 2021-11-06mm/vmscan: centralise timeout values for reclaim_throttleMel Gorman 2021-11-06mm/vmscan: throttle reclaim and compaction when too may pages are isolatedMel Gorman 2021-11-06mm/vmscan: throttle reclaim until some writeback completes if congestedMel Gorman 2021-11-06mm: introduce pmd_install() helperQi Zheng 2021-10-18mm: Add folio_evictable()Matthew Wilcox (Oracle) 2021-10-18mm/writeback: Add __folio_end_writeback()Matthew Wilcox (Oracle) 2021-09-27mm: Add folio_raw_mapping()Matthew Wilcox (Oracle) 2021-09-27mm/swap: Add folio_rotate_reclaimable()Matthew Wilcox (Oracle) 2021-09-03mm/numa: automatically generate node migration orderDave Hansen 2021-09-03mm: introduce memmap_alloc() to unify memory map allocationMike Rapoport 2021-07-08mmap: make mlock_future_check() globalMike Rapoport 2021-07-01mm/page_alloc: move prototype for find_suitable_fallbackMel Gorman 2021-06-30mm/madvise: introduce MADV_POPULATE_(READ|WRITE) to prefault page tablesDavid Hildenbrand 2021-06-30mm: make variable names for populate_vma_page_range() consistentDavid Hildenbrand 2021-06-30mm: thp: refactor NUMA fault handlingYang Shi 2021-06-30mm: memory: make numa_migrate_prep() non-staticYang Shi 2021-06-29mm/page_alloc: allow high-order pages to be stored on the per-cpu listsMel Gorman 2021-06-29mm/page_alloc: adjust pcp->high after CPU hotplug eventsMel Gorman 2021-06-29mm: memcg/slab: create a new set of kmalloc-cg-<n> cachesWaiman Long 2021-06-16mm/thp: fix vma_address() if virtual address below file offsetHugh Dickins 2021-05-22Revert "mm/gup: check page posion status for coredump."Michal Hocko 2021-05-07mm: fix typos in commentsIngo Molnar