lkml.org 
[lkml]   [2005]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-07-31 03:17    [W:1.158 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site