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
You need to sign in or sign up before continuing.
  • linux
  • mm
  • page_alloc.c
Find file BlameHistoryPermalink
  • Matthew Wilcox (Oracle)'s avatar
    mm/page_alloc: rename alloc_mask to alloc_gfp · 8e6a930b
    Matthew Wilcox (Oracle) authored Apr 29, 2021
    Patch series "Rationalise __alloc_pages wrappers", v3.
    
    I was poking around the __alloc_pages variants trying to understand why
    they each exist, and couldn't really find a good justification for keeping
    __alloc_pages and __alloc_pages_nodemask as separate functions.  That led
    to getting rid of alloc_pages_current() and then I noticed the
    documentation was bad, and then I noticed the mempolicy documentation
    wasn't included.
    
    Anyway, this is all cleanups & doc fixes.
    
    This patch (of 7):
    
    We have two masks involved -- the nodemask and the gfp mask, so alloc_mask
    is an unclear name.
    
    Link: https://lkml.kernel.org/r/20210225150642.2582252-2-willy@infradead.org
    
    
    Signed-off-by: default avatarMatthew Wilcox (Oracle) <willy@infradead.org>
    Acked-by: default avatarVlastimil Babka <vbabka@suse.cz>
    Cc: Michal Hocko <mhocko@suse.com>
    Cc: Mike Rapoport <rppt@linux.ibm.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    8e6a930b
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7