Re: [PATCH] slob: poor man's NUMA, take 2.

Nick Piggin
2007-06-13T03:42:28Z

Nick Piggin wrote:
> Paul Mundt wrote:

>> That's why I tossed in the node id matching in slob_alloc() for the
>> partial free page lookup. At the moment the logic obviously won't scale,
>> since we end up scanning the entire freelist looking for a page that
>> matches the node specifier. If we don't find one, we could rescan and
>> just grab a block from another node, but at the moment it just continues
>> on and tries to fetch a new page for the specified node.
>
>
> Oh, I didn't notice that. OK, sorry that would work.

OTOH, there are lots of places that don't specify the node explicitly,
but most of them prefer the allocation to come from the current node...
and that case isn't handled very well is it?

--
SUSE Labs, Novell Inc.