From mboxrd@z Thu Jan 1 00:00:00 1970 From: Petr Holasek Subject: Re: numactl problems with -C option specifying cpus outside of cpus_allowed Date: Fri, 4 Oct 2013 00:46:01 +0200 Message-ID: <20131003224601.GB30005@thinkpad-work.redhat.com> References: <00000141799702db-dbec8157-ae1f-43b6-8a30-ec1653be5d31-000000@email.amazonses.com> <20131002190149.GA6882@two.firstfloor.org> <000001417e93dd7e-d18881f0-6ad9-4f67-bcef-89842502d68c-000000@email.amazonses.com> <20131003155606.GA30005@thinkpad-work.redhat.com> <000001417f654322-16016bf3-6c9e-4a9c-a1c9-8426bb84d854-000000@email.amazonses.com> <20131003223339.GC6882@two.firstfloor.org> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <20131003223339.GC6882@two.firstfloor.org> Sender: linux-numa-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Andi Kleen Cc: Christoph Lameter , linux-numa@vger.kernel.org On Fri, 04 Oct 2013, Andi Kleen wrote: > > > --all option was added in version 2.0.9-rc5. When CAP_SYS_NICE is not set, > > > numactl will fail in sched_setaffinity() call even so. > > > > numactl should allow the setting of affinities if CAP_SYS_NICE is set. > > It does if you pass --all, correct? > > -Andi > Yes, you're right.