Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • I ipipe-x86
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Analytics
    • Analytics
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomaixenomai
  • ipipe-x86
  • Repository
  • ipipe-x86
  • include
  • linux
  • nodemask.h
Find file Blame History Permalink
  • KAMEZAWA Hiroyuki's avatar
    [PATCH] define for_each_online_pgdat · 8357f869
    KAMEZAWA Hiroyuki authored Mar 27, 2006
    
    
    This patch defines for_each_online_pgdat() as a replacement of
    for_each_pgdat()
    
    Now, online nodes are managed by node_online_map.  But for_each_pgdat()
    uses pgdat_link to iterate over all nodes(pgdat).  This means management
    structure for online pgdat is duplicated.
    
    I think using node_online_map for for_each_pgdat() is simple and sane
    rather ather than pgdat_link.  New macro is named as
    for_each_online_pgdat().  Following patch will fix callers of
    for_each_pgdat().
    
    The bootmem allocater uses for_each_pgdat() before pgdat initialization.  I
    don't think it's sane.  Following patch will fix it.
    
    Signed-off-by: default avatarYasunori Goto <y-goto@jp.fujitsu.com>
    Signed-off-by: default avatarKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    8357f869

Imprint & Privacy Policy