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
zone->zone_pgdat->node_id.


-
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/