Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • mm
  • memory.c
Find file BlameHistoryPermalink
  • Kefeng Wang's avatar
    mm: memory: add vm_normal_folio_pmd() · 65610453
    Kefeng Wang authored Sep 21, 2023
    Patch series "mm: convert numa balancing functions to use a folio", v2.
    
    do_numa_pages() only handles non-compound pages, and only PMD-mapped THPs
    are handled in do_huge_pmd_numa_page().  But a large, PTE-mapped folio
    will be supported so let's convert more numa balancing functions to
    use/take a folio in preparation for that, no functional change intended
    for now.
    
    
    This patch (of 6):
    
    The new vm_normal_folio_pmd() wrapper is similar to vm_normal_folio(),
    which allow them to completely replace the struct page variables with
    struct folio variables.
    
    Link: https://lkml.kernel.org/r/20230921074417.24004-1-wangkefeng.wang@huawei.com
    Link: https://lkml.kernel.org/r/20230921074417.24004-2-wangkefeng.wang@huawei.com
    
    
    Signed-off-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
    Cc: David Hildenbrand <david@redhat.com>
    Cc: "Huang, Ying" <ying.huang@intel.com>
    Cc: Hugh Dickins <hughd@google.com>
    Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
    Cc: Mike Kravetz <mike.kravetz@oracle.com>
    Cc: Zi Yan <ziy@nvidia.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    65610453
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7