Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp334442imm; Fri, 1 Jun 2018 01:34:23 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLLqpCK2KYCuhi7IZFJlg/Tfr/SKAgnlv6fOOTnBweg10DNQsp0PtrZE7hL/eRkPC9jCub+ X-Received: by 2002:a17:902:5e3:: with SMTP id f90-v6mr10516766plf.175.1527842063394; Fri, 01 Jun 2018 01:34:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527842063; cv=none; d=google.com; s=arc-20160816; b=wuJyAZJs6QAxCHXj2AWTWzy9e6z/cJvbK+S0TcfbpxPslxFQGp+ZM7bfS6ao/NgiKh FGv667LCa/Qi79u9rXdDAO2MHCbJN9B/U6f4tK8F46AYbQ9DMDlLc/wh2bn9rufntcWQ l3j76YQyr3OKphjzq63AIuzmN18ik1i5FgnBsljpXqoLm0EJpHVqwIVURIzGUUGXLeoM rv/2FsBWwZ3qIXgCbRjS2NylURq0qjOT2jYJE/luCRNZctRwtNeX0MJpYwso/7oGvNez rmkxpflkhmjY2yk4g+7gXB5cYrXGbirffTW8HpWqba1ysw2X0MlWiePSaJ8PFSbJfZeB hS8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=v4+TFpmTY5F+jy22nlPmijph36Cf9YyCt3/q/xu00g8=; b=wcxCmp5+EuoquNzUTb176aJlT1UhJsCRO6qyxcZIwdRHvNCuGHGDYLxiQ64+6BVv4a zXLqpjGnyUFmiOFI8MMR6zMQ0q78Zwcb7KzWB0XKwEe66M2AnC2iDPgBDmckckjlhg2R 5cfk5GI+AZH47qHyB0YIpdamt43AtlkrCOYLujnKGAqEDbgRGEL14NqQQiW+x6MHiDvp 4xGLo/0ro3pHpzcplNJ0wFxZ4FZbjoWwXAsdhCV1hBquT0i7BEQrfEa3y+RjfmxcEJsf 8e1z8p7BdhypiLnQC1phCqQIL2rlwATBn8tf4/ilmjpKsmKC4AHb5Awhh3ZJLuzZRJa3 usLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MkjsJNR0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b16-v6si2160426pgs.522.2018.06.01.01.34.08; Fri, 01 Jun 2018 01:34:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MkjsJNR0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751350AbeFAIcH (ORCPT + 99 others); Fri, 1 Jun 2018 04:32:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:50754 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750770AbeFAIcC (ORCPT ); Fri, 1 Jun 2018 04:32:02 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9E363208AE; Fri, 1 Jun 2018 08:32:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527841922; bh=61P0a61XLGpAvYpzX5S2ZHEF9nsScOPDXW5fhsCordA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MkjsJNR0p8DGXf2Jvk+Q/69Ujgjw69njTUXl7Frovwx+USoIIeUkynRTx8KSXkWOP PXHmAYAiaMACO12hJOHSZjdWEkvMlPIVUw2jodaw6qX5AY5CN0hj4+9CNwPns+ctUq KAuS5/DhsnbqiHQA0k0eaPVQKEhts+WT3S7bjsNU= Date: Fri, 1 Jun 2018 10:31:40 +0200 From: Greg Kroah-Hartman To: James Simmons Cc: devel@driverdev.osuosl.org, Andreas Dilger , Oleg Drokin , NeilBrown , Amir Shehata , Linux Kernel Mailing List , Lustre Development List Subject: Re: [PATCH v2 v2 07/25] staging: lustre: libcfs: replace num_possible_cpus() with nr_cpu_ids Message-ID: <20180601083140.GC19242@kroah.com> References: <1527603725-30560-1-git-send-email-jsimmons@infradead.org> <1527603725-30560-8-git-send-email-jsimmons@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1527603725-30560-8-git-send-email-jsimmons@infradead.org> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 29, 2018 at 10:21:47AM -0400, James Simmons wrote: > From: Amir Shehata > > Move from num_possible_cpus() to nr_cpu_ids. This says what you did, not _why_ you did it. If these functions are really identical, why do we have both of them? :) greg k-h