Messages in this thread | | | Date | Sat, 30 Jul 2005 18:14:18 -0700 | From | Paul Jackson <> | Subject | Re: [PATCH] String conversions for memory policy |
| |
Christoph wrote: > Strangely mpol_new converts a node bit mask into a > list of zones.
It's not strange. The numa interface calls mbind, set_mempolicy and get_mempolicy, between kernel and user, don't deal in zones. They deal in nodes.
I suspect you should do the same. I doubt we want to expose zones to user space here.
I will leave it to Andi to address your questions about memory pressure on lower numbered nodes when using MPOL_BIND. I suspect that for some of the uses you consider here, such as binding to a set of more than one node, that cpusets will provide capabilities closer to what you have in mind.
-- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <pj@sgi.com> 1.925.600.0401 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |