Re: [PATCH] String conversions for memory policy

From: Paul Jackson
Date: Sat Jul 30 2005 - 21:02:29 EST


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().

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