From mboxrd@z Thu Jan 1 00:00:00 1970 From: Petr Holasek Subject: [PATCH 1/2] libnuma: new function numa_run_on_node_mask_all added to library manpage Date: Tue, 10 Sep 2013 15:13:16 +0200 Message-ID: <1378818797-32280-2-git-send-email-pholasek@redhat.com> References: <1378818797-32280-1-git-send-email-pholasek@redhat.com> Return-path: In-Reply-To: <1378818797-32280-1-git-send-email-pholasek@redhat.com> Sender: linux-numa-owner@vger.kernel.org List-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Cliff Wickman Cc: Andi Kleen , linux-numa@vger.kernel.org, Petr Holasek --- numa.3 | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/numa.3 b/numa.3 index 6011168..52b03c4 100755 --- a/numa.3 +++ b/numa.3 @@ -99,6 +99,8 @@ numa \- NUMA policy library .br .BI "int numa_run_on_node_mask(struct bitmask *" nodemask ); .br +.BI "int numa_run_on_node_mask_all(struct bitmask *" nodemask ); +.br .B struct bitmask *numa_get_run_node_mask(void); .sp .BI "void numa_tonode_memory(void *" start ", size_t " size ", int " node ); @@ -233,7 +235,8 @@ The exceptions to this are: .IR numa_node_of_cpu (), .IR numa_bind (), .IR numa_run_on_node (), -.IR numa_run_on_node_mask () +.IR numa_run_on_node_mask (), +.IR numa_run_on_node_mask_all (), and .IR numa_get_run_node_mask (). These functions deal with the CPUs associated with numa nodes. @@ -686,6 +689,13 @@ On success, 0 is returned; on error \-1 is returned, and .I errno is set to indicate the error. +.BR numa_run_on_node_mask_all () +runs the current task and its children only on nodes specified in +.IR nodemask +like +.I numa_run_on_node_mask +but without any cpuset awareness. + .BR numa_get_run_node_mask () returns a mask of CPUs on which the current task is allowed to run. -- 1.8.1.4