Re: [PATCH] String conversions for memory policy

From: Christoph Lameter
Date: Sat Jul 30 2005 - 21:06:43 EST

On Sat, 30 Jul 2005, Paul Jackson wrote:

> Christoph wrote:
> > The problem is how to convert them back for display. Match the zones in
> > groups of three to the zones in a node and then print out the node?
> What does get_mempolicy(2) do? I doubt it assumes groups of three.
> See further the case for MPOL_BIND, in mm/mempolicy.c:get_zonemask().

It sets all the node bits by looping over all zones using

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