Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3567107yba; Tue, 16 Apr 2019 14:12:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqyymhNx6KhHaAtkxrDKMHLcwsoxrOrvbaI2DUi1LQC+EFwpYlciWrK156KNHANMnG4kcJml X-Received: by 2002:a17:902:43a4:: with SMTP id j33mr21534527pld.307.1555449123124; Tue, 16 Apr 2019 14:12:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555449123; cv=none; d=google.com; s=arc-20160816; b=O9/VaVay+2WSxRbOa8On49tnKFiX9Uf2lFgQ1ToQ5H9eUuWKNxQE1/ipuNTYqJUunH saPC4TMo7SF0rQqHiS4aCgFPMNVcghY15ZSuYyxeq2aUlryuO+zzqhik2lN0uog3dMYD DYEmWhe3mfcZ9/ofgYLrYvds/C7GlGN/GVKkcdrPl5PB446jsFBDrdOp/np0UepW2Tdk zDCIobyaOTKMQBtvtd/dOdkhPc8jEBw405xXwgtR2JL5MO9RKMbQcIEEwoIVksH+4hop vM/WJk72mcWZi0vb/z/r6d8FkVt6UKxpqB7miW9sElS0VPAe1pB6AwIYsw7wnuj7pseT gfPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=hup8++SN+T7NF4gsOW9bQCQOS4EO4S8ll4jwfTWyz+M=; b=UUGaJQhJn/WQjRQqdv3QE7HJCybGJ2jWNdanc1HeTRgQF2ZUsvqHVmHIZp/nrYATj1 8kfkgbfVTeGODoS8aMRzvBPhlLuoc2FPzMk4M6VCnNRuo9V7i5ql1PNzURtPcwXIWGyO P3PGKPI0S7iw0Alg/zDNAhUZ+9MsHgxbPh7VyDmHCxXrRE0QeUzYkm6/ZK1MwREtTyCX Mz6aVvU8grO+5rLRXmEY/ax3sRnQzd3IH2Lr+P8rMWfBxkFle54DHNOzq71FZ+WZ2AAW yJaCWDQ2OxKisPn6z08BGOOeaqdp1HtSqWapyh4PFhf4n66RJJCbhz8X+fbQbkpVCidh sm+A== 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 d23si48206603pls.151.2019.04.16.14.11.46; Tue, 16 Apr 2019 14:12:03 -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 S1728678AbfDPVLN (ORCPT + 99 others); Tue, 16 Apr 2019 17:11:13 -0400 Received: from mga09.intel.com ([134.134.136.24]:54295 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727136AbfDPVLM (ORCPT ); Tue, 16 Apr 2019 17:11:12 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Apr 2019 14:11:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,359,1549958400"; d="scan'208";a="151442439" Received: from xshen14-mobl.ccr.corp.intel.com (HELO [10.254.213.238]) ([10.254.213.238]) by orsmga002.jf.intel.com with ESMTP; 16 Apr 2019 14:11:09 -0700 Subject: Re: [PATCH 2/2] x86/resctrl: Initialize new resource group with default MBA values To: Borislav Petkov Cc: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, tony.luck@intel.com, fenghua.yu@intel.com, reinette.chatre@intel.com, x86@kernel.org, linux-kernel@vger.kernel.org, pei.p.jia@intel.com, xiaochen.shen@intel.com References: <1554839728-5544-1-git-send-email-xiaochen.shen@intel.com> <20190415113405.GC29317@zn.tnic> <9e99ed5f-d60a-717c-9322-c6f0b8090d6b@intel.com> <20190416205926.GO31772@zn.tnic> From: Xiaochen Shen Message-ID: <2817a0d5-fcaf-dc6c-8b01-4a423bd2e961@intel.com> Date: Wed, 17 Apr 2019 05:11:09 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20190416205926.GO31772@zn.tnic> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Boris, On 4/17/2019 4:59, Borislav Petkov wrote: > I guess but be conservative when adding too many words to a function's > name - that might get heavy when reading the code later. > > For example, there's an argument to not suffix it with "_cat": it is > only called by rdtgroup_init_cat() - rdtgroup_init_mba() will not call > it - so the path will remain unique anyway... > I got it. I will use the function name "__init_one_rdt_domain()" you suggested. Thank you. > Anyway, something to think about - I personally don't have a strong > preference here. Best regards, Xiaochen