Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp338353imm; Fri, 1 Jun 2018 01:40:07 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLnRgGBHBOv8b8VQeYLxobkl3rbG39IMsRfOoaMP57pXO9zwsWIrk850MZra8W4/RnigCap X-Received: by 2002:a17:902:301:: with SMTP id 1-v6mr10258038pld.127.1527842407365; Fri, 01 Jun 2018 01:40:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527842407; cv=none; d=google.com; s=arc-20160816; b=iBcSUyn8tTxgwl/1Hb9KO3DhM0ImXCU0BTt7KTPOR8gz6FTo1utdr7nLdpy55hEAAV Nb/x36rzc7fYJBqf5D6Xe411gaQeXg1hLR8OtXOFkaHUsAn5VGXR3kqi2IQMiz8BKuJk 2bo4pkCJWgCiokJ5CIK3fb42l3oe8M99HFdN8ktkuk9SGYOuZVdyHT4D/GVfNX9UGRWl Cn9gA3BVtpawTuk6r33AbXowgWO0V01kCeynxbGWv7mkOr31D/SehyNPTZFZRYCQyOGZ c7U/51C5a0Dds4iVdgki3chAgY0iDjRAuZOngXFWPjS2HCkR5tO/Aot0CXLy52bMypd/ kBwA== 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=ldZnaShh40V4lFj7M6BBE5Zl7sKZ67WmrBiP8YsThxE=; b=EN6N7/6wrkaBAkTUtJ0Sh2g5jYIewwyfe2chhZy2dewtorhhkTcmzgVlIcQSS3BMrr FeF+j38sWVQqFhTY+m0MLSMZMwcRFnhD7CxQcjpuRhouPvNL1/PgO85KfAsFWQNA4gaL dBjjuor7UZWnQs6wOPDcLZclOXo4PwfCUKMJIJ1VZMLuMbFzYgF1AbdXTL4VMeKstl+b opyeRegpcoJORexKTZkO41A51cR5ILmJAacOkhq+zbnW6YzATbcshMgScj54ZfvXH1sg Au/ONMv87Gx7X87yblooE3fEtv/Xc8iZ2VyHSq/wG6Vlck2nVeF5qSHAHenEkCce5cmA WnkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=kIjrswaT; 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 z14-v6si2834723pgz.264.2018.06.01.01.39.52; Fri, 01 Jun 2018 01:40:07 -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=kIjrswaT; 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 S1750927AbeFAIiV (ORCPT + 99 others); Fri, 1 Jun 2018 04:38:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:51818 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750724AbeFAIiR (ORCPT ); Fri, 1 Jun 2018 04:38:17 -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 5C8D320880; Fri, 1 Jun 2018 08:38:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527842296; bh=oGrDArgSpK5hpqtvDF9Au8dbOOFGhIgYoiE+IxiJHZA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kIjrswaTdgTtDiqZGoXNB7CJ1ikIDEzbt5vqHEGBgN29srszqGEQ9zf9RGlHKxZtw LTM6+dE0pyC9Xo46DJ6qDu61zUfnZWzsRZTyqSFP2+s7TrU2g19g4w87QmjU7iZp1Q gkqd7NRfcWRDIKHph8tIQZYC9mk/3+ZDS21I6rhA= Date: Fri, 1 Jun 2018 10:37:54 +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 08/25] staging: lustre: libcfs: NUMA support Message-ID: <20180601083754.GE19242@kroah.com> References: <1527603725-30560-1-git-send-email-jsimmons@infradead.org> <1527603725-30560-9-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-9-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:48AM -0400, James Simmons wrote: > From: Amir Shehata > > This patch adds NUMA node support. Really? It looks like you just added an empty data structure pointer that doesn't really do anything at all. Where are you reading the host memory NUMA information from? And why would a filesystem care about this type of thing? Are you going to now mirror what the scheduler does with regards to NUMA topology issues? How are you going to handle things when the topology changes? What systems did you test this on? What performance improvements were seen? What downsides are there with all of this? I need a whole lot more information here... > NUMA node information is stored > in the CPT table. A NUMA node mask is maintained for the entire > table as well as for each CPT to track the NUMA nodes related to > each of the CPTs. Add new function cfs_cpt_of_node() which returns > the CPT of a particular NUMA node. This doesn't really seem to match up with the code changes from what I can tell... thanks, greg k-h