From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751038AbdAPSGQ (ORCPT ); Mon, 16 Jan 2017 13:06:16 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:41687 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750846AbdAPSGK (ORCPT ); Mon, 16 Jan 2017 13:06:10 -0500 Date: Mon, 16 Jan 2017 19:05:57 +0100 (CET) From: Thomas Gleixner To: Vikas Shivappa cc: vikas.shivappa@intel.com, davidcc@google.com, eranian@google.com, linux-kernel@vger.kernel.org, x86@kernel.org, hpa@zytor.com, mingo@kernel.org, peterz@infradead.org, ravi.v.shankar@intel.com, tony.luck@intel.com, fenghua.yu@intel.com, andi.kleen@intel.com, h.peter.anvin@intel.com Subject: Re: [PATCH 03/12] x86/rdt: Add rdt common/cqm compile option In-Reply-To: <1483740005-23499-4-git-send-email-vikas.shivappa@linux.intel.com> Message-ID: References: <1483740005-23499-1-git-send-email-vikas.shivappa@linux.intel.com> <1483740005-23499-4-git-send-email-vikas.shivappa@linux.intel.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 6 Jan 2017, Vikas Shivappa wrote: > Add a compile option INTEL_RDT which enables common code for all > RDT(Resource director technology) and a specific INTEL_RDT_M which > enables code for RDT monitoring. CQM(cache quality monitoring) and > mbm(memory b/w monitoring) are part of Intel RDT monitoring. If we handle this with its own config option, can you please make this thing modular? There is no point to have this compiled in and wasting memory if it's not supported by the CPU. Thanks, tglx