Skip to content
GitLab
  • Explore
  • Sign in
  • Register
  • xcap
  • xcap-capability-linux
  • Repository
  • xcap-capability-linux
  • mm
  • page_alloc.c
Find file Blame History Permalink
  • Christoph Lameter's avatar
    [PATCH] Fix zone policy determination · 02a68a5e
    Christoph Lameter authored Jan 06, 2006
    
    
    The use k in the inner loop means that the highest zone nr is always used
    if any zone of a node is populated.  This means that the policy zone is not
    correctly determined on arches that do no use HIGHMEM like ia64.
    
    Change the loop to decrement k which also simplifies the BUG_ON.
    
    Signed-off-by: default avatarChristoph Lameter <clameter@sgi.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    02a68a5e