Skip to content
  • Andrew Morton's avatar
    [PATCH] vmscan: rename functions · 1742f19f
    Andrew Morton authored
    
    
    We have:
    
    	try_to_free_pages
    	->shrink_caches(struct zone **zones, ..)
    	  ->shrink_zone(struct zone *, ...)
    	    ->shrink_cache(struct zone *, ...)
    	      ->shrink_list(struct list_head *, ...)
    	    ->refill_inactive_list((struct zone *, ...)
    
    which is fairly irrational.
    
    Rename things so that we have
    
     	try_to_free_pages
     	->shrink_zones(struct zone **zones, ..)
     	  ->shrink_zone(struct zone *, ...)
     	    ->shrink_inactive_list(struct zone *, ...)
     	      ->shrink_page_list(struct list_head *, ...)
    	    ->shrink_active_list(struct zone *, ...)
    
    Cc: Nick Piggin <nickpiggin@yahoo.com.au>
    Cc: Christoph Lameter <christoph@lameter.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    1742f19f