linux-numa.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Petr Holasek <pholasek@redhat.com>
To: Cliff Wickman <cpw@sgi.com>
Cc: Andi Kleen <andi@firstfloor.org>,
	linux-numa@vger.kernel.org, Petr Holasek <pholasek@redhat.com>
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	[thread overview]
Message-ID: <1378818797-32280-2-git-send-email-pholasek@redhat.com> (raw)
In-Reply-To: <1378818797-32280-1-git-send-email-pholasek@redhat.com>

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

  reply	other threads:[~2013-09-10 13:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-10 13:13 [PATCH 0/2] follow-up patches for new --all option Petr Holasek
2013-09-10 13:13 ` Petr Holasek [this message]
2013-09-10 13:13 ` [PATCH 2/2] libnuma: added regression test " Petr Holasek
2013-09-10 17:56 ` [PATCH 0/2] follow-up patches " Andi Kleen
2013-09-10 18:25 ` Cliff Wickman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1378818797-32280-2-git-send-email-pholasek@redhat.com \
    --to=pholasek@redhat.com \
    --cc=andi@firstfloor.org \
    --cc=cpw@sgi.com \
    --cc=linux-numa@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).