From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cliff Wickman Subject: Re: [PATCH 0/2] New numactl option for overriding of policy settings cpuset awareness Date: Fri, 6 Sep 2013 14:50:01 -0500 Message-ID: <20130906195001.GA31823@sgi.com> References: <1378478037-14996-1-git-send-email-pholasek@redhat.com> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <1378478037-14996-1-git-send-email-pholasek@redhat.com> Sender: linux-numa-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Petr Holasek Cc: Andi Kleen , linux-numa@vger.kernel.org On Fri, Sep 06, 2013 at 04:33:55PM +0200, Petr Holasek wrote: > Hello all, > > based on Andi's yesterday proposal, I've reworked patch that it now provides > one --all/-a option which can be used for all policy settings when set before > them for overriding their default cpuset awareness. > > Unfortunately, default cpuset-aware node mask is hardwired into some library > functions, so I've decided to create new library function for running of > process on certain nodes what means new version of library symbols. > > thanks, > Petr Thanks Petr. Your patches are now part of numactl-2.0.9-rc4.tar.gz on ftp://oss.sgi.com/www/projects/libnuma/download/ I have run the standard regression tests successfully on medium sized x86_64 and ia64 machines. Do you have a test of the new -a option that could be added to the regression tests? -Cliff > > Petr Holasek (2): > numactl: new option --all/-a was added for policy settings > libnuma: new function numa_run_on_node_mask_all was added to libnuma > > libnuma.c | 46 +++++++++++++++++++++++++++++++++++++++++++ > numa.h | 2 ++ > numactl.8 | 6 ++++++ > numactl.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++--------- > versions.ldscript | 8 ++++++++ > 5 files changed, 111 insertions(+), 9 deletions(-) > > -- > 1.8.1.4 -- Cliff Wickman SGI cpw@sgi.com (651) 683-3824