lkml.org 
[lkml]   [2005]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/5] Light Fragmentation Avoidance V20: 003_fragcore
Hi,

> +/* Remove an element from the buddy allocator from the fallback list */
> +static struct page *__rmqueue_fallback(struct zone *zone, int order,
> + int alloctype)

Should we avoid this fallback as much as possible ?
I think this is a weak point of this approach.


> + /*
> + * If breaking a large block of pages, place the buddies
> + * on the preferred allocation list
> + */
> + if (unlikely(current_order >= MAX_ORDER / 2)) {
> + alloctype = !alloctype;
> + change_pageblock_type(zone, page);
> + area = &zone->free_area_lists[alloctype][current_order];
> + }
Changing RCLM_NORCLM to RLCM_EASY is okay ??
If so, I think adding similar code to free_pages_bulk() is better.

-- Kame

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

\
 
 \ /
  Last update: 2005-11-16 03:37    [W:0.095 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site