Re: [RFC] memory page_alloc zonelist caching speedup

David Rientjes
2006-10-10T06:34:12Z

On Mon, 9 Oct 2006, Paul Jackson wrote:

> -However- that forces a per-node reference in the zonelist caching
> code as part of the scan for a free page. That is exactly what we
> were trying to avoid!
>
> No. Not count frees either. Don't count anything.
>

When a free occurs for a given zone, increment its counter. If that
reaches some threshold, zap that node in the nodemask so it's checked on
the next alloc. All the infrastructure is already there for this support
in your patch.

[ Note: rientjes@google.com is no longer valid so I've removed it (again)
from the Cc list. My email address is rientjes@cs.washington.edu. ]

David