Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp1502070img; Tue, 19 Mar 2019 08:58:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqyyfVQq2AJrCohVzCsrjBrPnfSla17SrIFe6n9L5fzboT7l1C67gOV8vJBUib+cxYTTZToM X-Received: by 2002:a17:902:8697:: with SMTP id g23mr3317210plo.30.1553011126825; Tue, 19 Mar 2019 08:58:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553011126; cv=none; d=google.com; s=arc-20160816; b=NpA03lY9JFxp0rGHwbMgJGxiTYHaYXdUaViq+0T+KhBCRuCmGybqNwjCxbtzz7UUIx +GILqJUSbWUHxNraC6b4rje3xVg8lYfqke7LZ+wlE4r07udOrRy5jz+WfH0Wu6I5hkjh QOaOkQUJEc/Sxi0r1uCgKpJPTa64qGaJu+g46ZClsKvpRNnu1ml03gOoRgqsJTQ0Hl0V +ySzEIra5hXa9s5NLs1vzN4VH9/7QXmfNjLkGsluAuIBEyD8MIP4Cnc48395ZmbOpTCA k13kmBRS/b2dlUHSus1cDMOa/PdtFq56MAXFqbh0YJYphHwjfzzqi8SS1uJEuRJN84UU XhcA== 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=JQKn5AQE3Wqz4dBjwz0fsLYKQcru/ajqmzSmv3uZFGk=; b=f+FdbNGJjkiENB0hW3Z9vm+d9sxXagVcB9CcdYFTvdYtVas3kZiLBO4oHW2kuXQ+gd xuwx1QuMVj1wbWMYehm7EmcF5ilweyXMOscttwlTBiKt7IKL3cSm5+aE1gPAQ9bCGOL+ ZRXiAjDS3XnoUsE91taWAuYbGkC9gq4tQtznWW8ZGysme/AzcX9TYSwQkoJGFq0WK3yg AzQ6S8JB08zs2xXVa5LBpZnU9YQlp8yfrs+yIZzx6Rvnrbhbi9AdK9uQN9APJXz87e6I mFeyx7zYZwHyjA1KFyv0bnA0jG0uQW2QB8Xm31jQaYQBDAwdiJlNgxIEOXYRkPKTkVRD rQYg== 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 l40si12415249plb.164.2019.03.19.08.58.31; Tue, 19 Mar 2019 08:58:46 -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 S1727466AbfCSP57 (ORCPT + 99 others); Tue, 19 Mar 2019 11:57:59 -0400 Received: from mga03.intel.com ([134.134.136.65]:51938 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726831AbfCSP56 (ORCPT ); Tue, 19 Mar 2019 11:57:58 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Mar 2019 08:57:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,498,1544515200"; d="scan'208";a="284000654" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.137]) by orsmga004.jf.intel.com with ESMTP; 19 Mar 2019 08:57:57 -0700 Received: by tassilo.localdomain (Postfix, from userid 1000) id 9C08C301BB6; Tue, 19 Mar 2019 08:57:57 -0700 (PDT) Date: Tue, 19 Mar 2019 08:57:57 -0700 From: Andi Kleen To: Peter Zijlstra Cc: kan.liang@linux.intel.com, acme@kernel.org, mingo@redhat.com, linux-kernel@vger.kernel.org, tglx@linutronix.de, jolsa@kernel.org, eranian@google.com, alexander.shishkin@linux.intel.com Subject: Re: [PATCH 05/22] perf/x86: Support constraint ranges Message-ID: <20190319155757.GV24002@tassilo.jf.intel.com> References: <20190318214144.4639-1-kan.liang@linux.intel.com> <20190318214144.4639-6-kan.liang@linux.intel.com> <20190319145309.GI5996@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190319145309.GI5996@hirez.programming.kicks-ass.net> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > struct amd_nb { > > int nb_id; /* NorthBridge id */ > > That's all the code, how does that add up to 2k ? Because the tables are bigger. There are much more tables than code. In theory could use two kinds of tables, but that would complicate the code quite a bit. -Andi