Re: [PATCH] allocate page caches pages in round robin fasion

From: Martin J. Bligh
Date: Fri Aug 13 2004 - 18:03:56 EST


>>> Well, either we're:
>>>
>>> 1. Falling back and putting all our most recent accesses off-node.
>>>
>>> or.
>>>
>>> 2. Not falling back and only able to use one node's memory for any one
>>> (single threaded) app.
>>>
>>> Either situation is crap, though I'm not sure which turd we picked right
>>> now ... I'd have to look at the code again ;-) I thought it was 2, but
>>> I might be wrong.
>>>
>>
>> I'm looking at this now. We are doing 1 currently.
>
> In theory, yes. In practice, I have a feeling kswapd will keep us above
> the level of free memory where we'd fall back to another zone to allocate,
> won't it?

Nope - tested it. Buggered if I can see how that works, but it does ;-)

M.

-
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/