From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B0C8445EDB for ; Wed, 18 Dec 2024 12:18:12 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9729840E64; Wed, 18 Dec 2024 12:18:12 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) by mails.dpdk.org (Postfix) with ESMTP id C566F4066E; Wed, 18 Dec 2024 12:18:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1734520690; x=1766056690; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=khb9joiDiLlGc3TrPY6iz6fnRzekZtjpNMu/caWW6Rs=; b=e3WZHj/w7ghm09meAMG5bK0lDk0Cp7ejC4KGdBQZm+n7aBcVqGSz2XV8 VnIhwb3bUGJ+t0he4yUbPY25N0+ooJXh4CaCO+3ap55j6qy5/laWS5cqc 0TkGbk8DF2IHlOnh0dbMPqc+6XYmzXPnwHPJjaJ1nPacEYp1ii8MH1mrD XBHtTWgkyfBxkswQUYrwmSF38mTTjcC+YcxFtpMRXLXxq3gEh0461YdYu B5aEaON/8x8AgKmLACQmQYx1g+cly1nYG90WVlp6aC1r492G/nSHTdUaX MwVJV7hq6CQI8iXgclbO+un9Cpz2jIQxIRI26eAxILndjh0pQD/OCapli g==; X-CSE-ConnectionGUID: jEktw2TAS4+5Sqv1WZihWg== X-CSE-MsgGUID: b7ZcVQohTi6saHhNZCVdZQ== X-IronPort-AV: E=McAfee;i="6700,10204,11289"; a="35207817" X-IronPort-AV: E=Sophos;i="6.12,244,1728975600"; d="scan'208";a="35207817" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Dec 2024 03:18:09 -0800 X-CSE-ConnectionGUID: wnkdPdf7TO2pGleM8Yoetw== X-CSE-MsgGUID: FhOpXCK0STeD0Fi4hbt2ww== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,244,1728975600"; d="scan'208";a="98252714" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmviesa010.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 18 Dec 2024 03:18:08 -0800 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.44; Wed, 18 Dec 2024 03:18:07 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.44 via Frontend Transport; Wed, 18 Dec 2024 03:18:07 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.48) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.44; Wed, 18 Dec 2024 03:18:03 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=UaxtJDD63Nav9mjgwoFPBFRlqhdqWnOxM+7kGe+vzqRaYIp9Ik+g+DIWtHQ3QWgPzs9P/TAgaxFdFREmgL2K1vllhQ8P5t7pdivMZAULPUkfTiCUu3cc3yDWs7cygNMa+be0lrf1EGJxhdzxSNGRy23XlMAW4EVlQd0m9iGH+TmrmTMNzTjzcnpGoyxXGlFDfNBOSxWSDAJjqk78tQYdeGoj41V2xjak1BuYCrEkGETyn4v4BSMel1FeBdqLiRphVjfb0A8lLNQWg+w/W2MHGX1FEyFmQwA2TC8LbcC3aoQTIxXhFWMb5EYIgj85sw2zzjyb5vsDa6YfHRmgotlaaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=LKv0FAV+81DBd5VK0Wk/aAjMNPVtQT3Ter+PrtW81Ic=; b=EUPHR8udiiVBxDaDNaKAutMY75c5TurFNy0C0P6DEncRyoh6mpDfBtDgFjcE/mj4nNFiv1n8LFlO0Dcjnq1fWKUJbqCNApUU/pZghUQdIBKvbuL4ZTfj7KSlDCnWvBkhaMED0bnddQgOPeCpwGlLXCBaXAP7U2ylMrrwDb5Ty3pQlGZShSF2mM6hOmpNhexZ7T/q067k8xpk3pDXb7f8Ytf8dsijq3I9Q9PccAnUwpbwgsDUDOm4fIG3QWcmhKjCvzEQyi6Np+S7/0i46h47ze50IauWKfe1H14yKaHg924j5cvIaoHlI9UtwJgerXLM0tkKWEC0qtOc3HNqHIhwOA== 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 DM4PR11MB6502.namprd11.prod.outlook.com (2603:10b6:8:89::7) by CY8PR11MB6915.namprd11.prod.outlook.com (2603:10b6:930:59::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8272.13; Wed, 18 Dec 2024 11:17:40 +0000 Received: from DM4PR11MB6502.namprd11.prod.outlook.com ([fe80::21e4:2d98:c498:2d7a]) by DM4PR11MB6502.namprd11.prod.outlook.com ([fe80::21e4:2d98:c498:2d7a%3]) with mapi id 15.20.8251.015; Wed, 18 Dec 2024 11:17:40 +0000 Message-ID: Date: Wed, 18 Dec 2024 12:17:31 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 3/5] power: defer lcore variable allocation To: David Marchand , CC: , , , , David Hunt , Sivaprasad Tummala , Konstantin Ananyev , Stephen Hemminger , =?UTF-8?Q?Morten_Br=C3=B8rup?= , Chengwen Feng References: <20241205175754.1673888-1-david.marchand@redhat.com> <20241217085954.3310414-1-david.marchand@redhat.com> <20241217085954.3310414-4-david.marchand@redhat.com> Content-Language: en-US From: "Burakov, Anatoly" In-Reply-To: <20241217085954.3310414-4-david.marchand@redhat.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DU7P195CA0019.EURP195.PROD.OUTLOOK.COM (2603:10a6:10:54d::32) To DM4PR11MB6502.namprd11.prod.outlook.com (2603:10b6:8:89::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM4PR11MB6502:EE_|CY8PR11MB6915:EE_ X-MS-Office365-Filtering-Correlation-Id: b7ca04e7-571b-487f-eb58-08dd1f5595a2 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; ARA:13230040|1800799024|376014|7416014|366016|7053199007; X-Microsoft-Antispam-Message-Info: =?utf-8?B?OHpMREU4azNqMDRkNm0zOE9kY3pVc1o0Z3d0Z3BYZGwyZFlkNFNWbDdCekk5?= =?utf-8?B?cU9ydEdPRHdPNGNvTE11NzA0UnFqR2VUS2hTbFBXeFVpOW5pMEdzZnB1Q2h2?= =?utf-8?B?SmpwdS8xVHRsTXVoQWtCbmVtMWJZMzZOOHFSUFlkU2FTYjB4dTlmMmp2VXU2?= =?utf-8?B?UjcweXVIVFAxMnI5UFpnWnkrSSszUkZjUlVtNXlpSGd5ZmU2ZitWeW52d21a?= =?utf-8?B?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?ZmRhclg0Tm1RMmxlUGpvWVByQmtMNmdOZDlhczJ2M21ONTR3bXNUQ2hZZzRk?= =?utf-8?B?RUVHN1BaZ1VSNE1POCszUWxNcDVtQ3RFSnVIRUxKQk5iQ2Y3cHpvcUhiZ0ZO?= =?utf-8?B?c0gzckFzZVhIOUw2NFpvOWJ5RWNXaWdIV0M4VDlPajRmVkl5RG4yQkQvakkz?= =?utf-8?B?WEtxVVEwTmNGbit5Ni9ybTdaRVhQQ2xiRUpMZTJ5cUZIZG5oSUZYUi9ubjhr?= =?utf-8?B?TUlsM2VvZ2pWY2dqaFptVTE2MkpCNHduNzZuWGk4MldOK0h3MHNPQkhvVlI4?= =?utf-8?B?d1JBMFZRRWFzQldVZy9GOWlZbkNnMy9qNDlGeGx3YXZWMkFLMEFONzlOUlNi?= =?utf-8?B?YWI0Tk1tYlRONW8wT2ZXMFp4ZXFJalZOVFhKTVA2T3dmNjZDSFk2TWJoMzV0?= =?utf-8?B?QnZvWUIveklablE0K2FsT1lLZ3dpZHZtajVVYkJqSm1hU2hRQVJGSjNRNnlx?= =?utf-8?B?TWRwMDl4emduOXhlRnlKRS9Td01tcVphelRoNXNObW9Ya3I4b01sU2NTREU5?= =?utf-8?B?blVLVEk2NStTVkRXVkR4MHFVaTNRQjVxU0I5Y0ZkNU94ek5lVmpac05ITllw?= =?utf-8?B?ZExUVVppWWhtdWtXOFFuSnpKTXhlQlhZSnFySzdXaUl4REpZaklOc2J1Z0FK?= =?utf-8?B?VVZyRUM0aHI5N2xWcG1zd2R5M0F2QmRhN20yQXVydTVrR29CSnVUSXZqK0RI?= =?utf-8?Q?NBNywJX4tQ92W?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB6502.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(376014)(7416014)(366016)(7053199007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-Message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tPa2E3akRSWk9kRXd2RHl1?= =?utf-8?B?WTdnRnJnZHMwOG0xQVQwbkRIWm1VQjJ1UHlsU0ZtWTg2MUp0T3U2M1pCNW9p?= =?utf-8?B?blpuYlhTVjZzWENwQ3FxL1p3WEZEOHdtRHNMVTZTR3hoemN4ckZURnhabHcr?= =?utf-8?B?QWJHVU9kYzlYWFdlUXdSaU1pVkhvL25JcTRMRUcvTDlWSVlta2d0aHhYVjNC?= =?utf-8?B?SEhicnBZZDZENHhtM2w2aGVBTjNCSWgvd05sdlg4MmYrY3h1UkVVbUVFODNq?= =?utf-8?B?MmZSWlR0bjczSFk5WDJhMlVyeXVCa3ArdWh5Z0ZHb0JwN0tmZFJvVG1LSXBB?= =?utf-8?B?bUY1Zm9GcGVON2dsam8zTG40V1k1b3BPNjZVVFJsZFR5S2JZazdROUl5TlJa?= =?utf-8?B?OHRHWi9tczVZL1hNN1ErRUdpSk9md3RUUDkrQlk5Rnh0Y2psNVVZakRDWHdh?= =?utf-8?B?Vnc9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: b7ca04e7-571b-487f-eb58-08dd1f5595a2 X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB6502.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Dec 2024 11:17:40.2057 (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: l3Op4HBbMB2mloqB8d4e+kj2KJ5egvLz/DpZY6RNWO2jl9zWpQ63pY8ZMA4MOD9TKsVE/lIwOHIkZ7MOvrR8+SbPGtZa1Hr7L2+Sr/eTUEY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR11MB6915 X-OriginatorOrg: intel.com X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On 12/17/2024 9:59 AM, David Marchand wrote: > The lcore variable in this code unit is only used through > rte_power_ethdev_pmgmt_queue_*() public symbols. > > Defer the unconditional lcore variable allocation in those symbols. > > Fixes: 130643319579 ("power: keep per-lcore state in lcore variable") > Cc: stable@dpdk.org > > Signed-off-by: David Marchand > --- Acked-by: Anatoly Burakov -- Thanks, Anatoly