Re: [PATCH 5/7] Fragmentation Avoidance V16: 005_fallback

Dave Hansen
2005-10-05T16:52:04Z

On Wed, 2005-10-05 at 15:46 +0100, Mel Gorman wrote:
>
> + */
> +static inline struct free_area *
> +fallback_buddy_reserve(int start_alloctype, struct zone *zone,
> + unsigned int current_order, struct page *page,
> + struct free_area *area)
> +{
> + if (start_alloctype != RCLM_NORCLM)
> + return area;
> +
> + area = &(zone->free_area_lists[RCLM_NORCLM][current_order]);
> +
> + /* Reserve the whole block if this is a large split */
> + if (current_order >= MAX_ORDER / 2) {
> + int reserve_type=RCLM_NORCLM;

-EBADCODINGSTYLE.

-- Dave