Re: [PATCH 3/5] Light Fragmentation Avoidance V20: 003_fragcore

From: KAMEZAWA Hiroyuki
Date: Tue Nov 15 2005 - 21:35:00 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/