Skip to content
  • Minchan Kim's avatar
    page-allocator: clean up functions related to pages_min · bc75d33f
    Minchan Kim authored
    
    
    Change the names of two functions. It doesn't affect behavior.
    
    Presently, setup_per_zone_pages_min() changes low, high of zone as well as
    min.  So a better name is setup_per_zone_wmarks().  That's because Mel
    changed zone->pages_[hig/low/min] to zone->watermark array in "page
    allocator: replace the watermark-related union in struct zone with a
    watermark[] array".
    
     * setup_per_zone_pages_min => setup_per_zone_wmarks
    
    Of course, we have to change init_per_zone_pages_min, too.  There are not
    pages_min any more.
    
     * init_per_zone_pages_min => init_per_zone_wmark_min
    
    [akpm@linux-foundation.org: coding-style fixes]
    Signed-off-by: default avatarMinchan Kim <minchan.kim@gmail.com>
    Acked-by: default avatarMel Gorman <mel@csn.ul.ie>
    Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
    Cc: Rik van Riel <riel@redhat.com>
    Cc: Johannes Weiner <hannes@cmpxchg.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    bc75d33f