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

From: Paul Jackson
Date: Fri Feb 29 2008 - 00:02:31 EST


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.

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.940.382.4214
--
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/