Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1053682imm; Wed, 4 Jul 2018 10:35:47 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcHfMlRzcQXc0+C2edtJwtJqPUHLQlg8zx3gqceTWAbD2Vkrf6W/mCAiAPIV9dTq1NrnXnP X-Received: by 2002:a17:902:bccc:: with SMTP id o12-v6mr2962126pls.169.1530725747944; Wed, 04 Jul 2018 10:35:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530725747; cv=none; d=google.com; s=arc-20160816; b=Br5r/O8Glt9nv2fEdv8MN/QbvJCelEpdL7bQznXtiAaupi8K+mEN6HNds0DqcGB6tu CWNtA3T0tV0aVtIFP/kx9In+qRHSbCeTfWL8kprMbq61fZwomtp48OakzKVdKOXqVrZv mmybkt8cmVFSveqGNyVRdo1EORISGafpm32PcxMMcevhDsf3pF0wHdOUjW6iRTMSIu6d JdtUyhFBWzX5uMHE8oI0chvt41vMab4C47CO9Hq4es2Nt4qI89/NmZiHAY9PPx13p90O Zy7Vi5cv1co/QCsM1kjgQlriR4IV54mKH8G3SRm9nYVBRvtu0FGsQbULFqT7+TWGTp8O rweA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=nmG4q6aQjcJQ/Od4XAKQ7zc9JwgOMRsMyS31YzQH32o=; b=NR+AE2Y6JIIjo/zArnIEewLB92jmR0ycYZgtEmtHps+M/9heYMWVvtaDZPlT/8dR2B 4Lg+cKzww27jgtwoU6eJJy0VgdeMKArX8rTzB2SGmoPHDs0dBrOnMoWZqq618LMh5Mju O+0De4z7ALWgxpDTGpOMijYpLw+jqIKreMtnBCcOu85JmD591eLeo5mu8q/Dv/DOBSdb 1V0T2OuNlaw6fPRhmrCju72kUedzn0RnBRL+yOAM+zoG6g0ArXt9QYyDmGenG3l27XjQ NxCl2DhqFS7eYPnM1Egvi478d+K7ZrwZgeIZdCmX1FKl15e/AbZwdhJSm4hn2f9+MTZ1 Bv3Q== 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 g12-v6si3880590pla.194.2018.07.04.10.35.33; Wed, 04 Jul 2018 10:35:47 -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; 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 S1752740AbeGDRe4 (ORCPT + 99 others); Wed, 4 Jul 2018 13:34:56 -0400 Received: from mga01.intel.com ([192.55.52.88]:63036 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752158AbeGDRey (ORCPT ); Wed, 4 Jul 2018 13:34:54 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Jul 2018 10:34:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,306,1526367600"; d="scan'208";a="62292017" Received: from saamir-mobl.ger.corp.intel.com (HELO localhost) ([10.252.34.242]) by FMSMGA003.fm.intel.com with ESMTP; 04 Jul 2018 10:34:50 -0700 Date: Wed, 4 Jul 2018 20:34:48 +0300 From: Jarkko Sakkinen To: Dave Hansen Cc: x86@kernel.org, platform-driver-x86@vger.kernel.org, sean.j.christopherson@intel.com, nhorman@redhat.com, npmccallum@redhat.com, linux-sgx@vger.kernel.org, Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , "open list:X86 ARCHITECTURE (32-BIT AND 64-BIT)" Subject: Re: [PATCH v12 07/13] x86/sgx: data structures for tracking available EPC pages Message-ID: <20180704173448.GJ6724@linux.intel.com> References: <20180703182118.15024-1-jarkko.sakkinen@linux.intel.com> <20180703182118.15024-8-jarkko.sakkinen@linux.intel.com> <48296e78-5979-a22f-c337-633deccf30bf@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48296e78-5979-a22f-c337-633deccf30bf@intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 03, 2018 at 12:03:48PM -0700, Dave Hansen wrote: > On 07/03/2018 11:19 AM, Jarkko Sakkinen wrote: > > This commit adds a database of EPC banks for kernel to easily access the > > available EPC pages. On UMA architectures there is a singe bank of EPC > > pages. On NUMA architectures there is an EPC bank for each node. > > Is this universally true? What about Sub-NUMA-Clustering/Cluster-on-Die > systems? I have to say that I do not have a good answer right now but I will study this area for the next version. /Jarkko