Re: [RFC] memory page_alloc zonelist caching speedup

Christoph Lameter
2006-10-10T17:07:36Z

Could it be worth to investigate more radical ideas? This gets way too
complicated for me. Maybe drop the whole zone list generation idea and
iterate over nodes in another way?

1. Have an allocator that is not node aware and can just deal with
memory in up to 3 different zones. No NUMA at all.

2. Have another NUMA allocator that uses the node unaware allocator
but implements its own way of handling the NUMA situation with proper
fallbacks etc etc. Maybe we could then merge the allocation logic
from mempolicy.c into the page allocator?

If 2 is generic enough then it can be used for other allocators as well
(like slab, hugepages, uncaches allocators) and provide a coherent
NUMA allocation handling for all allocators on NUMA.

It would be great if we could simplify and modularize the page allocator.