Re: [PATCH 5/6] Filter based on a nodemask as well as a gfp_mask

Lee Schermerhorn
2008-02-29T14:49:25Z

On Thu, 2008-02-28 at 23:01 -0600, Paul Jackson wrote:
> Mel wrote:
> > A positive benefit of
> > this is that allocations using MPOL_BIND now use the local-node-ordered
> > zonelist instead of a custom node-id-ordered zonelist.
>
> Could you update the now obsolete documentation (perhaps just delete
> the no longer correct remark):
>
> Documentation/vm/numa_memory_policy.txt:
>
> MPOL_BIND: This mode specifies that memory must come from the
> set of nodes specified by the policy.
>
> The memory policy APIs do not specify an order in which the nodes
> will be searched. However, unlike "local allocation", the Bind
> policy does not consider the distance between the nodes. Rather,
> allocations will fallback to the nodes specified by the policy in
> order of numeric node id. Like everything in Linux, this is subject
> to change.
>

Yes, will do.

Thanks, Lee