Re: [2.6 patch] mm/page_alloc.c: cleanups

From: Peter Zijlstra
Date: Mon Mar 31 2008 - 07:32:52 EST


On Mon, 2008-03-31 at 01:53 +0300, Adrian Bunk wrote:
> This patch contains the following cleanups:
> - make the following needlessly global variables static:
> - required_kernelcore
> - zone_movable_pfn[]
> - make the following needlessly global functions static:
> - move_freepages()
> - move_freepages_block()
> - setup_pageset()
> - find_usable_zone_for_movable()
> - adjust_zone_range_for_zone_movable()
> - __absent_pages_in_range()
> - find_min_pfn_for_node()
> - find_zone_movable_pfns_for_nodes()
> - #if 0 the following no longer used global function:
> - free_cold_page()

Why no outright removal? #if 0 only leaves more junk around to clean up
later.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/