Re: [PATCH 00/25] Cleanup and optimise the page allocator V5

From: Christoph Lameter
Date: Fri Mar 20 2009 - 12:10:05 EST


On Fri, 20 Mar 2009, Mel Gorman wrote:

> good idea one way or the other. Course, this meant a search of the PCP
> lists or increasing the size of the PCP structure - swings and
> roundabouts :/

The PCP list structure irks me a bit. Manipulating doubly linked lists
means touching at least 3 cachelines. Is it possible to go to a simple
linked list (one cacheline to be touched)? Or an array of pointers to
pages instead (one cacheline may contian multiple pointers to pcp pages
which means multiple pages could be handled with a single cacheline)?
--
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/