RE: [PATCH 5/5] Light fragmentation avoidance without usemap: 005_drainpercpu
From: Seth, Rohit
Date: Tue Nov 22 2005 - 18:43:42 EST
From: Mel Gorman Sent: Tuesday, November 22, 2005 11:18 AM
>Per-cpu pages can accidentally cause fragmentation because they are
>pinned pages in an otherwise contiguous block. When this patch is
>the per-cpu caches are drained after the direct-reclaim is entered if
I don't think this is the right place to drain the pcp. Since direct
reclaim is already done, so it is possible that allocator can service
the request without draining the pcps.
>requested order is greater than 3.
Why this order limit. Most of the previous failures seen (because of my
earlier patches of bigger and more physical contiguous chunks for pcps)
were with order 1 allocation.
>It simply reuses the code used by suspend
>and hotplug and only is triggered when anti-defragmentation is enabled.
That code has issues with pre-emptible kernel.
I will be shortly sending the patch to free pages from pcp when higher
allocation is not able to get serviced from global list.
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/