Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2728734rdb; Mon, 12 Feb 2024 14:54:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IF5597nOElcz4ILhxWtvotg+5pAIy6kT98pc4bevB2uTyyBPHuCS7SpaAd38mG9P1aQ2rIP X-Received: by 2002:a05:622a:c1:b0:42c:6b63:b7be with SMTP id p1-20020a05622a00c100b0042c6b63b7bemr9786082qtw.16.1707778448048; Mon, 12 Feb 2024 14:54:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUTAOXsam6KxS4ioIujScvR/A6nwMiH/By52iurssrWUmwiTVwyO5v+spXtrlO8BVR+15lQKzVQallyPUP+l1F6rYbcq6B+Y5P+TXnkvw== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id he7-20020a05622a600700b0042c760c746esi1435976qtb.168.2024.02.12.14.54.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 14:54:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-62503-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=fq8wSSB9; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-62503-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62503-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B2CB11C22603 for ; Mon, 12 Feb 2024 22:54:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 71F134EB2C; Mon, 12 Feb 2024 22:54:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="fq8wSSB9" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 58BC54E1B5; Mon, 12 Feb 2024 22:53:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=198.175.65.12 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707778439; cv=fail; b=m8NqtS994/lmcjdHKBZj2jMmAkaFKHEO8ZfhOH13Yv/JBDXWtAipA9CuyING6UdOiVXbl0Uysg1a0U/roeIgZ9WzFa7lf0stCkUmvFYm4YYQlYndtRRHMjqGbVfAa/BC4z/RmTjSKDdB/HS7cd34wZVebbPIdnEBZjBVNryAqm8= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707778439; c=relaxed/simple; bh=Y0aPg+BrsTBs3ISBKlv4rk0DG7my+UsKIM2QtXix060=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=WzlsJBX6E1akGJJfGDMkQTzP7QbphQMPgMdiKvCcbQaAZzDIJaBCXIAcouHpDQq3XvGv7+yMhP+4TgOnPDmz67twWlkD4ABsPbAecuLUoujZH0HdWmM7VUt+dt4Q9qUt6BbxUGMSpbxMQBFFdAKnt3DYGZW7B6H1wY2gdEV65Lc= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=fq8wSSB9; arc=fail smtp.client-ip=198.175.65.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707778437; x=1739314437; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=Y0aPg+BrsTBs3ISBKlv4rk0DG7my+UsKIM2QtXix060=; b=fq8wSSB9lVRDPVcflv4oUt1bkWd7lOict2AccAuyzeoRroKExr1taHih XySL5stt/02yZEBij7cC51vgtBknI18D2Ft4Pss6Z4hak3WKM7yOvGJ15 XeTgzC7ZtZoBwkAPgUmfebe+TJwPq6hLyhojIug0UV9vyW4U96E/eXZH8 fA2UDdfA0Po4e6OfQ0GCNYz7NnVxjfj/YhXrTiyhAonNOl1JAiR2txq+r T5OHwDrDCOSG1kD4XiURzzrbBzxio63J7sbFfT3ivwTKUA8XQO0XFcjpZ IEuHbgDGoTNhKXZ/VnjVBsTwjlIA7UzZdUxCWA9hBCRMIj1fFoMIJIs1E g==; X-IronPort-AV: E=McAfee;i="6600,9927,10982"; a="13170519" X-IronPort-AV: E=Sophos;i="6.06,155,1705392000"; d="scan'208";a="13170519" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Feb 2024 14:53:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,155,1705392000"; d="scan'208";a="2697309" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmviesa009.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 12 Feb 2024 14:53:56 -0800 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) 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.35; Mon, 12 Feb 2024 14:53:55 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Mon, 12 Feb 2024 14:53:55 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.100) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Mon, 12 Feb 2024 14:53:55 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IoFphbF0wb0s9ZgiZgseQOKgjC/AL7uveZ2rR5Bw5iqWmJPK7nN5ITD60/QyQbta3JRbgaxrqdC5TSyODSXy4k3R7x/82TIrjWR+bgjIOyEQXHl20v+STtYbqeRI15UZB7xSE52cgK1YeVKcTiB1IONykADZwyXqSYYaI4MykaQK8/cpQdK+dCKu5F9dBGDi8MB61j1kOK2GAqyLmz7SCAk0O3VI7BBjlnTCRGT/54ers/c9x4MLKPcx/f5J9g4YaOHEPHmRy9ogCQ+aueseF8bjKT0qBNKRiXWXA4L1guMoDn2VTSe4GJFwXNnegb6eY+UoWFM6VVTUr+2TPh458g== 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=0cfPQqnRbWp6rQI+Kj2ZyXA9SVzW7w8EjwHXe8p0ifw=; b=I5h3NLbTVNrXDU49WKTbAbiMGKg0RcJWGIW0UC30ByQgLPFKYKanP/ypmACXO1g/WTmXisiHz4Ydo85mnf//jePOnUdpq6JVH9/R3bXGic/+Z8AcR/2KJeEf2AB4P099ZOjWjKB1UFffOUinEz+fDmM3pNAWyQonnm1efb0GCJqt+mSqv+tLv8n7BplLCK1DoZREH0pd4EB67/xbgpLy+nlED3a6ti/LQRqPj3Y30EutoGxAeShguWN8GPYClo+c+LPPGFN2KiNCtEINyWjTUj1I/uV+9l6IzqisIRdUnMrMsyqlMAt4E6tXs7qkAd4kLOtQUqcdMz729pZKgaYcfQ== 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 Received: from SJ1PR11MB6083.namprd11.prod.outlook.com (2603:10b6:a03:48a::9) by BN9PR11MB5371.namprd11.prod.outlook.com (2603:10b6:408:11c::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.38; Mon, 12 Feb 2024 22:53:53 +0000 Received: from SJ1PR11MB6083.namprd11.prod.outlook.com ([fe80::7103:9cf7:fcc0:e802]) by SJ1PR11MB6083.namprd11.prod.outlook.com ([fe80::7103:9cf7:fcc0:e802%3]) with mapi id 15.20.7270.033; Mon, 12 Feb 2024 22:53:53 +0000 From: "Luck, Tony" To: "paulmck@kernel.org" , Borislav Petkov CC: Yazen Ghannam , "Naik, Avadhut" , "Mehta, Sohil" , "x86@kernel.org" , "linux-edac@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Avadhut Naik Subject: RE: [PATCH 2/2] x86/MCE: Add command line option to extend MCE Records pool Thread-Topic: [PATCH 2/2] x86/MCE: Add command line option to extend MCE Records pool Thread-Index: AQHaWhj+DLVtkWOA50OiEqZPMnN2ZbEBPHkAgAE1PoCAAAHSAIAABzoAgAAEd4CAALjhgIAA4DsAgADqjICAAhC1AIAAAfPggAANwwCAAACQYIAABwgAgAAJWQCAAAwugIAAFiWAgAABj6A= Date: Mon, 12 Feb 2024 22:53:53 +0000 Message-ID: References: <5DB0FF8D-C6DA-45DC-B287-201A9BF48BDA@alien8.de> <75ddf61d-8dda-47fa-9da0-24221feb22a2@amd.com> <20240211111455.GAZcisL09LeFPWa2EI@fat_crate.local> <34b19db5-bd72-457c-9b6a-c2089f6be83c@amd.com> <20240212201038.GNZcp7PuIqIJndpDM9@fat_crate.local> <47901422-ac07-47db-bf44-3f4353e92b1d@paulmck-laptop> <20240212212741.GPZcqNTXfU2OX7uRtx@fat_crate.local> <2d8b17f2-c22f-478f-b407-9d2dfd2064f7@paulmck-laptop> In-Reply-To: <2d8b17f2-c22f-478f-b407-9d2dfd2064f7@paulmck-laptop> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ1PR11MB6083:EE_|BN9PR11MB5371:EE_ x-ms-office365-filtering-correlation-id: 5222b374-bf6e-4482-3d1d-08dc2c1d7c87 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: C0/Ga1/UoJqXW/DangtW5zx8CQnKKHZ6Q1AjDHOSoV1++uUyGb+K/WM3Q08IRazhxo0Eq7dOgctr2mpgl/oCbLtx96FXSzLYmqueLSl/yJynQgIZ17A7wOmYOg0ozovUKCGhV6ULQynLOfwn9QbfJOTRsu9gRm4SDbUoK4p6G1dZv19x1f1O1b6I+6RTS5tgn6qJbE+ZzpiadRFxKhkMTL43YZEF60DqjhYNzNirDck0oSfx/OTWHWHHBfqfju4rovGv/sGQCKsrMNPPIhcmdXcdWK41RP7aX59L/9s82Wy9BA5yC28cjE8D08LEQ0wzbOeifQ2XfunqPys09StUqBB30OB2Vk81zJn1C/zx41cXvgs9+QDqRURNxTkmgL/RmvwzBFOhHzm5w6YUu/JvQ0OaPhlhhckBvx7Hw0PV6YeeMt2b832K0fuUUzsYuYd0B8vmbf5LrkwR6iWVgLa9yNma0r32dKHbDkxtE9IJvcVnUH/kmbjk1itlwMt0T8XUzBFOkZbmjxB8g52K5FH4n3NV+jqd/cpwygVAujU6JSEWX+QjzRJpwaFgtLporAJJ41sjpOkMg3PyH3e5sCV++YLZ1B29lxMLzBXWnuQ+ZPa6yx8PrAfzX45PjSOSqCWB x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ1PR11MB6083.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(39860400002)(366004)(346002)(396003)(376002)(136003)(230922051799003)(64100799003)(451199024)(186009)(1800799012)(2906002)(55016003)(41300700001)(26005)(478600001)(38070700009)(4326008)(71200400001)(54906003)(5660300002)(9686003)(110136005)(7696005)(64756008)(8676002)(8936002)(52536014)(66556008)(66946007)(66446008)(66476007)(76116006)(83380400001)(33656002)(558084003)(86362001)(6506007)(316002)(82960400001)(38100700002)(122000001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?TM/FTvR0xtXraYeSbyhBqy7rJFpbXK2LaiSTlTUDYV61RIF8X9RgQ9ebMlGN?= =?us-ascii?Q?TJ4dNAkvVBQPgD1eJu6OZH316QprUqBylVy45ZieWv//iwBPyLgRoF4SFms2?= =?us-ascii?Q?ZCQeDP9ve80TyCgffD4MO+nw31mZBl8OAgWNQxSntFtP9+a+YrMJG6s1F3Pp?= =?us-ascii?Q?Gib0izio4/aHEApf2gWqTCQRrfTwGAYRMI16xMFw4T/T77Rvlo/qKtoTn32e?= =?us-ascii?Q?r6AJowaovoW91c3qzTQWSppVAcmq52nkViJPXMzFZfIa7JXUoBJi+LejkgGv?= =?us-ascii?Q?aYdC0Rvqsd6JYWuLV6rSSOwvd6BlauJvSpHK0T/NaxzVHuvyGMYIORj5oiSM?= =?us-ascii?Q?/ssCS5zrpd4yBUO2/JuOQyRzAmk3cesdd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Q?nJ00TbgvPmMIr9OURklg5j2tzkREJyV/KsouFbf1yLnEHLoW20NIHKNNRuNs?= =?us-ascii?Q?lgXU/YMcKw3TH4kWmgm/6OBIzy7x80W5R8KhemWCnjgPNRP/ckQGtBQYzJ9J?= =?us-ascii?Q?z+L/Wib3aoNwE1GjfBp56gcgepl2TU7ZkHhkMVV3C42OAt9YmNv3uksKLchQ?= =?us-ascii?Q?5oUO2hPEavWfjujlA0Kw/lSqztfRNASRlfGS33wLBxdB96UeH5gbMRVA8SKu?= =?us-ascii?Q?rHq0Ycgz/ECejwyVQy3aRDVsB2DCeWyR/xAQa2knj8Kj0JjOWtZdshdTxJfp?= =?us-ascii?Q?628eNUQ4Bl+2TrfKyAJWyomY/hKDxBSO+iY2n+So?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ1PR11MB6083.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5222b374-bf6e-4482-3d1d-08dc2c1d7c87 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Feb 2024 22:53:53.4419 (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: +bkujaAOtkfSRkCF7a3lz6oSHnc7ln6ylX8DCngOvjSdkeUh+Zp3nQ7V+NzYgkDKQnKM2Je7tQLRAyyFVfqQnQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR11MB5371 X-OriginatorOrg: intel.com > The usual reason is to exclude other CPUs also doing list_add_rcu() > on the same list. Or is there other synchronization that is preventing > concurrent updates? In this case the patch is trying to do a one-time bump of the pool size. So no races here. -Tony