From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751411AbeFAIcH (ORCPT ); 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 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 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