Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8476531imu; Tue, 4 Dec 2018 08:59:10 -0800 (PST) X-Google-Smtp-Source: AFSGD/X5d1zPyGPnFSNrFL6VE2XOHyUZglbAxQ1snOKyvVToeQOpQYS+DcA320l1E+R0xspmnK2/ X-Received: by 2002:a17:902:b787:: with SMTP id e7mr20708813pls.246.1543942750262; Tue, 04 Dec 2018 08:59:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543942750; cv=none; d=google.com; s=arc-20160816; b=LvxH0oubqj0+mpNDY5aBZ76SrufUOCul+Znu/gVYDEJMa5PIgDXimEDF0j0QG95az3 dcWg2u+Fxp2ULF+27gz1qz/+A1g2Lnzr9hl7qb6zHknwiMTUC6rj5W1GQnsdyttVlqAn VdhT99J+ew1SfK6RgiOtScgk9E45585NqlZRXq+l41vF375smWEwCVduPo4gDN8//q0J YsztzF5+emepm99A6SEyX6PSpyrIIwy/JgdjDozABCE0iOj2W3Q/qe2is4jq+krR9sAS LbgAAQzAWrkSqpS0UWFE8U9SOxilyRLAJfJbbf3c2LWWGsJvhLuMmwf2Yxl9cb5BSFbr 5CfQ== 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; bh=sYNa1J2WsV/vD26UAgoXmHpaz9/QHUBUvqUZVjuzOpQ=; b=u8ZrZCR6oW6KXQAPFyQ5vaJoajYHkRNI3rcjw60H4QCpxtRwu78XlW4IV1dLNOROSg cF5cT+akfkhsixlwZyaAdWxNgGpxJLXc9lEtw699Mv1HCj8MjxvrnmbOUtnISAJwFIZJ TDEBV1lH+xLZLKmMKp7LTlN07yc8f/7mMxLj2Ta7h/D0WM3K6Auw9f3rWZdoAlYj38t5 nmYCQCWw3JMIbYkoVUnFSc2e5OmG5YN+H8EAVZMGxn7My8OpDye9Pkz5/T+a8hz/v0sW Xm1ZPscQsQX/DaX06MMN+AEbvQxAQlIfxHUkrJmZBPZuP8N9NFBDkL44Q1Q4+nNSX8ld 18Lg== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i2si17782317pfi.125.2018.12.04.08.58.54; Tue, 04 Dec 2018 08:59:10 -0800 (PST) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727219AbeLDQ5J (ORCPT + 99 others); Tue, 4 Dec 2018 11:57:09 -0500 Received: from mga03.intel.com ([134.134.136.65]:9440 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726226AbeLDQ5I (ORCPT ); Tue, 4 Dec 2018 11:57:08 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Dec 2018 08:56:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,314,1539673200"; d="scan'208";a="115581572" Received: from unknown (HELO localhost.localdomain) ([10.232.112.69]) by orsmga002.jf.intel.com with ESMTP; 04 Dec 2018 08:56:56 -0800 Date: Tue, 4 Dec 2018 09:54:11 -0700 From: Keith Busch To: "Aneesh Kumar K.V" Cc: Matthew Wilcox , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linux-mm@kvack.org, Greg Kroah-Hartman , Rafael Wysocki , Dave Hansen , Dan Williams Subject: Re: [PATCH 1/7] node: Link memory nodes to their compute nodes Message-ID: <20181204165411.GA16666@localhost.localdomain> References: <20181114224921.12123-2-keith.busch@intel.com> <20181115135710.GD19286@bombadil.infradead.org> <20181115145920.GG11416@localhost.localdomain> <20181115203654.GA28246@bombadil.infradead.org> <20181116183254.GD14630@localhost.localdomain> <87sgzd5mca.fsf@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87sgzd5mca.fsf@linux.ibm.com> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 04, 2018 at 09:13:33PM +0530, Aneesh Kumar K.V wrote: > Keith Busch writes: > > > > Indeed, that particular example is out of scope for this series. The > > first objective is to aid a process running in node B's CPUs to allocate > > memory in B1. Anything that crosses QPI are their own. > > But if you can extrapolate how such a system can possibly be expressed > using what is propsed here, it would help in reviewing this. Expressed to what end? This proposal is not trying to express anything other than the best possible pairings because that is the most common information applications will want to know. > Also how > do we intent to express the locality of memory w.r.t to other computing > units like GPU/FPGA? The HMAT parsing at the end of the series provides an example for how others may use the proposed interfaces. > I understand that this is looked at as ACPI HMAT in sysfs format. > But as mentioned by others in this thread, if we don't do this platform > and device independent way, we can have application portability issues > going forward? Only the last patch is specific to HMAT. If there are other ways to get the same attributes, then those drivers or subsystems may also register them with these new kernel interfaces.