From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tadeusz Struk Subject: Re: [PATCH 2/2] crypto: qat - Enforce valid numa configuration. Date: Thu, 09 Oct 2014 16:12:30 -0700 Message-ID: <5437165E.6030008@intel.com> References: <20141008173750.13714.49713.stgit@tstruk-mobl1> <20141008173853.13714.47458.stgit@tstruk-mobl1> <54357B02.8080008@redhat.com> <54357E5B.2090401@intel.com> <54358400.5060405@redhat.com> <54358918.7030808@intel.com> <54358A06.2080605@redhat.com> <54358FC6.8060500@intel.com> <54367016.3070709@redhat.com> <5436B459.4090503@intel.com> <5436C6BA.2020404@redhat.com> <5436E818.5030809@intel.com> <54370163.6040305@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: herbert@gondor.apana.org.au, bruce.w.allan@intel.com, qat-linux@intel.com, john.griffin@intel.com, linux-crypto@vger.kernel.org, naleksan@redhat.com, davem@davemloft.net To: Prarit Bhargava Return-path: Received: from mga11.intel.com ([192.55.52.93]:50469 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750918AbaJIXO1 (ORCPT ); Thu, 9 Oct 2014 19:14:27 -0400 In-Reply-To: <54370163.6040305@redhat.com> Sender: linux-crypto-owner@vger.kernel.org List-ID: On 10/09/2014 02:42 PM, Prarit Bhargava wrote: >> > I don't think cpu hotplug matters here. This is one (probe) time >> > determination if the configuration is optimal or not and if it makes >> > sense to use this accelerator or not. > It absolutely matters. num_online_cpus() *changes* depending on the # of cpus. Sure, but I still think that we are safe here.