Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3305451pxu; Tue, 8 Dec 2020 08:37:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJy323B3ra8HBZ9qRDe2LeGnyeCpU2vLArX8UkRawOAcwGoLf/bKuM2zkAzG44fiWIN+QF1Y X-Received: by 2002:a17:906:13da:: with SMTP id g26mr9372786ejc.285.1607445459555; Tue, 08 Dec 2020 08:37:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607445459; cv=none; d=google.com; s=arc-20160816; b=U0aCRhcAcSjQtMRj3ZXvODcofj844BJiiBSwk4JHohPD//BBmX/9ZC/YhWqUZnbA5x o5c/ZlnHDDEwwb7jOAD5+4/SNAhwrsZoMVe4OGDq0mbaUFrEOtafgbXC3Vi8AGZhCJRC Wn47dMIzA60Bi/8WCy6h+wKe5mEdaC0arPkmk7w/HZfQH01oLSz4BdcMNcq235VZB//Y v7maTPGqRS8JLxf7CkV1Y+isWq6nFzu4rJslQuMsGsIoLgNfDbK5FKd/xo7eTvxnK3d/ oTGay66cXSV05rjxdTu3e3i7tdy6lqBFx8dMFt+qkuVAcxKMJRVLbQbwv+JK2S9Zdt1L 4rlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:ironport-sdr:ironport-sdr; bh=dMrn+CtzXcB7iqXNHEGIxaRdQpwE508NbDABtm60Gdk=; b=RbrNyghujreBASk2HgnKWSEt05dq/JioVI4zgoaxcXOWpRo0Z1CuQjwcqpmIE+AMf9 vNlxmMx1PgRnbz0eoCrH25nwAF5Nja9d/09zHY3obeVehxEsnGmN6plr0lP3CXR1TFBh vg1bzw7MDVnN9gjoa84WjfYsuMW9EWj6jvLnjCCK3HdX3/7G3zcp5oWCDairoL+deUdS pM8cIWojhyfzIocWfuOt/Blxp3GVUF06b+4pAjcf8xL5KZAkEv6m+BYmiTkHiEqrg0FA igH/uO4djncjp+udNXLNI/vFrk6WWKoBR6FZ0PnxfvJU9fV4Orscp1M6qyKWL7AfVevN Gw4Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id t19si307234ejb.85.2020.12.08.08.37.15; Tue, 08 Dec 2020 08:37:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1730002AbgLHQfw (ORCPT + 99 others); Tue, 8 Dec 2020 11:35:52 -0500 Received: from mga12.intel.com ([192.55.52.136]:4687 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726703AbgLHQfw (ORCPT ); Tue, 8 Dec 2020 11:35:52 -0500 IronPort-SDR: Crc814HfJWqm4bu2z1giovo3oJmSXYhNKYdvMoscH5dRYPtQhhVr3lyzVegFJZAx0XJ/3bMpcU 7t/E+8oyEU/A== X-IronPort-AV: E=McAfee;i="6000,8403,9829"; a="153160512" X-IronPort-AV: E=Sophos;i="5.78,402,1599548400"; d="scan'208";a="153160512" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Dec 2020 08:35:11 -0800 IronPort-SDR: LIn0azVBF/cQ5ac8xtFl/G6n0pLIRNxckAz+813KWPFNoYsmUGuofo5I/OVG5zVI/+K4cxPt6V sTHDAlLMw9IA== X-IronPort-AV: E=Sophos;i="5.78,402,1599548400"; d="scan'208";a="437440577" Received: from mparames-mobl.amr.corp.intel.com (HELO [10.209.5.123]) ([10.209.5.123]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Dec 2020 08:35:10 -0800 Subject: Re: [PATCH 1/3] x86/resctrl: Move setting task's active CPU in a mask into helpers To: Borislav Petkov Cc: tglx@linutronix.de, fenghua.yu@intel.com, tony.luck@intel.com, kuo-lang.tseng@intel.com, shakeelb@google.com, valentin.schneider@arm.com, mingo@redhat.com, babu.moger@amd.com, james.morse@arm.com, hpa@zytor.com, x86@kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org References: <77973e75a10bf7ef9b33c664544667deee9e1a8e.1607036601.git.reinette.chatre@intel.com> <20201207182912.GF20489@zn.tnic> <20201208094907.GB27920@zn.tnic> From: Reinette Chatre Message-ID: Date: Tue, 8 Dec 2020 08:35:09 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: <20201208094907.GB27920@zn.tnic> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Borislav, On 12/8/2020 1:49 AM, Borislav Petkov wrote: > On Mon, Dec 07, 2020 at 01:24:51PM -0800, Reinette Chatre wrote: >> How about: >> "Move the setting of the CPU on which a task is running in a CPU mask into a >> couple of helpers. >> >> There is no functional change. This is a preparatory change for the fix in >> the following patch from where the Fixes tag is copied." > > Almost. Just not call it a "following patch" because once this is > applied, the following one might be a different one depending on the > ordering a git command has requested. So a "later patch" would be > probably better. Indeed, will do. Thank you. > >> Correct. I will add it. The addition to the commit message above aims to >> explain a Fixes tag to a patch with no functional changes. > > Yes but you need to tell the stable people somehow that this one is a > prerequisite and that they should pick it up too. Right. Thanks for guiding here. > > Unless you can reorg your code this way that you don't need patch 1... I think that the current organization, with patch 1 containing the preparatory work without functional changes, makes the fix in patch 2 easier to review. I thus plan to keep the code organization as is while surely following your suggestion on how to support the stable team. Thank you very much Reinette