Re: [PATCH] String conversions for memory policy

From: Christoph Lameter
Date: Sat Jul 30 2005 - 10:49:35 EST

On Fri, 29 Jul 2005, Paul Jackson wrote:

> Once we have a clear description of this syntax in the record,
> I anticipate raising as an issue that this syntax does not have a
> single integer or string token value per file (or at most, an array
> or list of comparable integer values).

The current patch only outputs the memory policy via
smaps/emaps. However, this could be construet as a single string
describing the policy.

>From my earlier post:

default -> Reset allocation policy to default
prefer=<node> -> Prefer allocation on specified node
interleave={nodelist} -> Interleaved allocation on the given nodes
bind={zonelist} -> Restrict allocation to the specified zones.

Zones are specified by either only providing the node number or using the
notation zone/name. I.e. 3/normal 1/high 0/dma etc.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at