Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1527185rwb; Thu, 15 Dec 2022 11:08:27 -0800 (PST) X-Google-Smtp-Source: AA0mqf7sKZpYFdE5V5cr/Ff0aFsxWwDc1Nk3yaLqF8F2OQj8d0pQuATIoL2W4joghjXEDT+kXpzj X-Received: by 2002:a17:902:e80c:b0:18a:4493:5db6 with SMTP id u12-20020a170902e80c00b0018a44935db6mr43577885plg.41.1671131306896; Thu, 15 Dec 2022 11:08:26 -0800 (PST) Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y1-20020a170902864100b001789a178e33si5990516plt.428.2022.12.15.11.08.16; Thu, 15 Dec 2022 11:08:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="XmHxad/V"; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230432AbiLOS2p (ORCPT + 68 others); Thu, 15 Dec 2022 13:28:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230297AbiLOS2K (ORCPT ); Thu, 15 Dec 2022 13:28:10 -0500 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED3FF49B5C; Thu, 15 Dec 2022 10:28:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1671128890; x=1702664890; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=znQiGulr/HlttWpBhEEq08cYht7NHTyuiO4mjh148G8=; b=XmHxad/VnANumJWOkU1rTAUuRrGzqqjl2L66wnkGGiW5z5GYAuh/+5L6 VyBwrkBIdPFRfFhy9hNSH+OgG6toOSliUWzGw1Qswvaf9h8NDKyq3DPGE WffbTNXhLuiicmp8hbXTPRJRO6SXNGGFwDdUn9i+uknn+sbmisaxr+fci SG/jiaeoYzzntcuczm8/TrIMWvLu8nlyFFEioj1W1w4tTfxJIM3k7ktZj ZXeE/LGapkWpVyM7B9A03kuGYF+F08dJopXWA2+OcwO4S978m7TrA5owx 4vIuPdiFK9f8dPSmgyuK3ct02WV0LkCLodQ9JBH+mX/vqK2yrs/QLjvy7 w==; X-IronPort-AV: E=McAfee;i="6500,9779,10562"; a="320649406" X-IronPort-AV: E=Sophos;i="5.96,248,1665471600"; d="scan'208";a="320649406" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Dec 2022 10:27:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10562"; a="718103087" X-IronPort-AV: E=Sophos;i="5.96,248,1665471600"; d="scan'208";a="718103087" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga004.fm.intel.com with ESMTP; 15 Dec 2022 10:27:02 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Thu, 15 Dec 2022 10:27:01 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Thu, 15 Dec 2022 10:26:57 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Thu, 15 Dec 2022 10:26:57 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.48) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Thu, 15 Dec 2022 10:26:55 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=isJ/Laqg9DMti6/7eXsPtPJQ8M1HbWracC5rw2FDXmcFI00/XMt6GM3r/Ykz3gSKR3ZG0f8lqT5XGda4NQoOuAyCaWyL09FAhRG26MExCAFgljZoOqhLc3lgLaZyRvAc4iFOQF9teMa5oZ6aJuQN3fY92sDpy9ukuiOfl+KtkaEuvjEMjoTSfRGjHxyDURn26xgq19/Bj7WzU5Zd7p04jvoBH4VC1aMLFL2r+4MvzNqEYrGmtat3YUP6QSbM7NThbmezu2TYkkuNCz0PLb+xg8wujAFwJqSHz3Pul/X2lVcM1ZDDAAhQPQ61pr51rpxZPvlTOP5YeAUTBnzRdBO0ZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=JI2jkpnmn7CDmJbq4Tbiwy5X6TRsBoa6I+W1SretV2c=; b=hhtfLnZ58ypxZjVhLoWDdysZbfOhIj+ddWpwI7tz+R09SS/Oi0KoiN0tqqCc4Txd4jlJOxuDSS0jCEdn5gIUWCv12DCPHsvbQ5jIuzN7GBXA+pBsRQYczAZmlFjgFn3rouaFs4Eoew7RKajz74P1EcK39QI8lV+djrg7AOIzrPsUoPaUmrkziEQ0/cgAu+QAjCyEkAFNwbnwJG/zXSVbOCXQ3S+D+UjD+wiUwi7SFPX7IxtbYoOvQpqdxlinGghXKtEH8PNduh8YeR3jQw4qq4R/AvSJP3kysy4Yi+CsxHfSaTpozlC4KgqNtaxucARcuCN26SFFPZV/l3DP9Nh79Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from CY4PR11MB1862.namprd11.prod.outlook.com (2603:10b6:903:124::18) by CY8PR11MB7799.namprd11.prod.outlook.com (2603:10b6:930:78::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.11; Thu, 15 Dec 2022 18:26:42 +0000 Received: from CY4PR11MB1862.namprd11.prod.outlook.com ([fe80::a1f7:e4c4:e60:c5b3]) by CY4PR11MB1862.namprd11.prod.outlook.com ([fe80::a1f7:e4c4:e60:c5b3%6]) with mapi id 15.20.5924.012; Thu, 15 Dec 2022 18:26:42 +0000 Message-ID: <27680a78-d9c1-b86b-8aa4-38245d0547d7@intel.com> Date: Thu, 15 Dec 2022 10:26:38 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.6.0 Subject: Re: [PATCH v9 12/13] x86/resctrl: Replace smp_call_function_many() with on_each_cpu_mask() Content-Language: en-US To: Babu Moger , , , , CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , References: <166990882621.17806.16780480657453071426.stgit@bmoger-ubuntu> <166990904972.17806.4220672882391241296.stgit@bmoger-ubuntu> From: Reinette Chatre In-Reply-To: <166990904972.17806.4220672882391241296.stgit@bmoger-ubuntu> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BYAPR07CA0060.namprd07.prod.outlook.com (2603:10b6:a03:60::37) To CY4PR11MB1862.namprd11.prod.outlook.com (2603:10b6:903:124::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PR11MB1862:EE_|CY8PR11MB7799:EE_ X-MS-Office365-Filtering-Correlation-Id: e4ff815e-f1a7-4352-3da0-08dadec9e9bd X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KgyBnVjdsRECuXC4gDyROp0ryOLcgpbXQ2fvjURiLQUzPTiQ+G/EuTtJcNJ1dPdKmQk0VQPdb+OjwUt98dmnvb4bg3UHNzAJIL+x6PYaQN+ExL12a8ri8o8fPb7IJGyJEVHqwSDgHtwKV075Bu4/1zxffhS5jXIV1nWTQY9m8OVie2TnqiPCPqIBtGGwqPgve/BH3XRvVoBFfxKB/SSjv10M9M9o40oNdqPlS7nlCBxuZQa/CocA7XNcqCzPuENn719YQ9Vid+i8cDkhzdlK5+i6anRA6wOVEmise5gh5FeFCAfdprEbOwNmMy9GX2yiqNbGt+ocC+xOpb4PDLSa7fUeMOUL8hXHmCdmKByKVrxoripUk3fu1L1od21Ypa/WXmPFzJfVisE2aXemkax1RSqeG1ybdrVIg+5UevJlUVxglu/BQg5hivT5Z9t5fMAZDMX+1ELHIO6uYrE42midxY8T55u6kCuRwYY5f4m6kCf0632BNg2mXExPl4W6tIygIQ0pcGWs11SNBUpJtChxB8ZTaGwtdBfqlagQXDElJvLDdLZzmBIAJ23ql1f35OVQ1pzlPM6izHY8S91/hEyOx2DXaZprFkrPojLVLRT4YNbaWuFCRqMKpkBMq0v+lzA0CxNv2YyPINHzt342TSePsFkGflXT3hHyk4M2fv1QNTA0QE4pAKVG8DzaWZpdd8bkSgmtwuSUmLVx0LG3Cy+GxCZF4lIE3ldRNr6pNwc2vOM= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CY4PR11MB1862.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(366004)(39860400002)(396003)(376002)(136003)(346002)(451199015)(86362001)(31696002)(31686004)(478600001)(6666004)(6506007)(6486002)(53546011)(6512007)(26005)(186003)(82960400001)(38100700002)(8936002)(41300700001)(83380400001)(44832011)(316002)(36756003)(2906002)(7416002)(7406005)(66476007)(8676002)(4326008)(2616005)(66556008)(66946007)(5660300002)(45980500001)(43740500002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RkNHbWFIZHJsbmozQ0xTYWc4UUlQeUR1TzhUczU0Qnc0bVFkNUcweXdFVDRM?= =?utf-8?B?WjViZ2doZWVkbHlSMjFBbWNXNTZmcjk3Q205ZWVEemI2a0lPOGZLajNKeW9z?= =?utf-8?B?MWtzUHZUc0NYQTRnaFRPYnh5aGxnOUwrT0pERkNEWkh2emlGUHVvVzZnT1JS?= =?utf-8?B?OFUzUVZyTGJzVTdvWHJTazlrZkZZbUhtRDNkNnRYQ09uR2NZdVNsL3lIUzB0?= =?utf-8?B?eEJVS1NkckNVVFA2YUM4dTVYRno0a1VsdVQ3VkdMQTdJZWtVZ3kwQ0QzSjkw?= =?utf-8?B?a2c4QTN5VHdzY21VT0VhM2JLanc3Y3dJSUhhZ0dCY3JyVlM5Q3djMzRNM2V0?= =?utf-8?B?Z0hna1BOQ0c1c0NxdnBuZzVNUHBmcTk3L2tiREE3dzFPb0Iyd1FkUURLU2ZP?= =?utf-8?B?cmVrTGZMeFdYYXp0T210RHVRajJ3Y1paV21NWHZuRXRsQ3o2WS95YWxhV2or?= =?utf-8?B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od.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Dec 2022 18:26:41.9507 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: iNZ2SOIx+n359VnEHUCCWIKjPTILfJNklnGCd0cUg06oZJoo3ddz1KhoOGP108KUahf9/ob2eYqts0EsWszYFoX04m+0KLfu7nv7YI9OniM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR11MB7799 X-OriginatorOrg: intel.com X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Babu, On 12/1/2022 7:37 AM, Babu Moger wrote: > The call on_each_cpu_mask() runs the function on each CPU specified > by cpumask, which may include the local processor. So, replace the call > smp_call_function_many() with on_each_cpu_mask() to simplify the code. Please move the solution to a new paragraph and drop the "So,". The two instances of "the call" can be dropped also. > > Signed-off-by: Babu Moger > --- Could you please move this patch to the beginning of this series? Fixes and cleanups should go before new features. > arch/x86/kernel/cpu/resctrl/rdtgroup.c | 29 ++++++++--------------------- > 1 file changed, 8 insertions(+), 21 deletions(-) > > diff --git a/arch/x86/kernel/cpu/resctrl/rdtgroup.c b/arch/x86/kernel/cpu/resctrl/rdtgroup.c > index 6897c480ae55..68e14831a638 100644 > --- a/arch/x86/kernel/cpu/resctrl/rdtgroup.c > +++ b/arch/x86/kernel/cpu/resctrl/rdtgroup.c > @@ -325,12 +325,7 @@ static void update_cpu_closid_rmid(void *info) > static void > update_closid_rmid(const struct cpumask *cpu_mask, struct rdtgroup *r) > { > - int cpu = get_cpu(); > - > - if (cpumask_test_cpu(cpu, cpu_mask)) > - update_cpu_closid_rmid(r); > - smp_call_function_many(cpu_mask, update_cpu_closid_rmid, r, 1); > - put_cpu(); > + on_each_cpu_mask(cpu_mask, update_cpu_closid_rmid, r, 1); > } > > static int cpus_mon_write(struct rdtgroup *rdtgrp, cpumask_var_t newmask, > @@ -2135,13 +2130,9 @@ static int set_cache_qos_cfg(int level, bool enable) > /* Pick one CPU from each domain instance to update MSR */ > cpumask_set_cpu(cpumask_any(&d->cpu_mask), cpu_mask); > } > - cpu = get_cpu(); > - /* Update QOS_CFG MSR on this cpu if it's in cpu_mask. */ > - if (cpumask_test_cpu(cpu, cpu_mask)) > - update(&enable); > - /* Update QOS_CFG MSR on all other cpus in cpu_mask. */ > - smp_call_function_many(cpu_mask, update, &enable, 1); > - put_cpu(); > + > + /* Update QOS_CFG MSR on all the CPUs in cpu_mask */ > + on_each_cpu_mask(cpu_mask, update, &enable, 1); > > free_cpumask_var(cpu_mask); > > @@ -2618,7 +2609,7 @@ static int reset_all_ctrls(struct rdt_resource *r) > struct msr_param msr_param; > cpumask_var_t cpu_mask; > struct rdt_domain *d; > - int i, cpu; > + int i; > > if (!zalloc_cpumask_var(&cpu_mask, GFP_KERNEL)) > return -ENOMEM; > @@ -2639,13 +2630,9 @@ static int reset_all_ctrls(struct rdt_resource *r) > for (i = 0; i < hw_res->num_closid; i++) > hw_dom->ctrl_val[i] = r->default_ctrl; > } > - cpu = get_cpu(); > - /* Update CBM on this cpu if it's in cpu_mask. */ > - if (cpumask_test_cpu(cpu, cpu_mask)) > - rdt_ctrl_update(&msr_param); > - /* Update CBM on all other cpus in cpu_mask. */ > - smp_call_function_many(cpu_mask, rdt_ctrl_update, &msr_param, 1); > - put_cpu(); > + > + /* Update CBM on all the CPUs in cpu_mask */ > + on_each_cpu_mask(cpu_mask, rdt_ctrl_update, &msr_param, 1); > > free_cpumask_var(cpu_mask); > > > Should the snippet in resctrl_arch_update_domains() also be updated? Reinette