From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 11061225E401A for ; Thu, 22 Mar 2018 16:21:09 -0700 (PDT) Date: Thu, 22 Mar 2018 17:27:41 -0600 From: Ross Zwisler Subject: Re: [ndctl PATCH 2/2] ndctl: fail NUMA filtering when unavailable Message-ID: <20180322232741.GA29040@linux.intel.com> References: <20180322184007.25667-1-ross.zwisler@linux.intel.com> <20180322184007.25667-2-ross.zwisler@linux.intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" To: Dan Williams Cc: linux-nvdimm List-ID: On Thu, Mar 22, 2018 at 03:47:01PM -0700, Dan Williams wrote: > On Thu, Mar 22, 2018 at 11:40 AM, Ross Zwisler > wrote: > > Instead of just failing to find namespaces when trying to filter by NUMA > > node when CONFIG_NUMA wasn't enabled in the kernel, instead fail loudly as > > numactl does: > > > > # numactl --cpunodebind=0 ls > > numactl: This system does not support NUMA policy > > > > Signed-off-by: Ross Zwisler > > --- > > > > This enabling requires numactl to create a pkg-config file, which it > > currently does not. This support is added by the following patch which > > I just sent out: > > > > https://patchwork.kernel.org/patch/10302135/ > > Hmm, it's going to be a while for that to be picked up and filter out > into all the distributions so we can either wait for the next numactl > release to become commonly available, or rework this ndctl change to > be independent of pkgconfig dependency. Sure - I'm not yet sure how to do that. :) Any tips on how to check for library dependencies without pgk-config support? _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm