Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp143063rdb; Tue, 5 Dec 2023 00:47:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IFkC7jV5j27toGlCOtiuP4+cHUKEkLH3IM5pumStJpzZoFnDpRA9I75rturBFUfQl1fz/Fs X-Received: by 2002:a05:6a20:1441:b0:18f:97c:9267 with SMTP id a1-20020a056a20144100b0018f097c9267mr3055207pzi.76.1701766063002; Tue, 05 Dec 2023 00:47:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701766062; cv=none; d=google.com; s=arc-20160816; b=v1RgaW3T+XeFwZp29yLCEPzZTc/i2vfFpsllugqDUWCnPc5nRpvWhTBKvETTrscbD6 Xk1gsf+JjEAABAasyJkIMGingH0VOMlt5q4koMPL/X22A8oXJTHJQg/sKIL5NtjG0O5A XryXWQkzkjlnHOs6GIkA60hRIz7/Sh9dzC1JvKMappuPQuWVTMnvEAHZdH67koJ8609D mhf0PGc4/Um/tKWqxTige/+Zp6KYo6vFHLDSPlOlhJ8uDC7zKCStbVUTGxvhyL+CTvoT fSoe/RuF0+RX1xhij0OqHdCFJeTDfglLF2AsPNx8GFeROmIDboM+hL2wIZjjjYOMiQfr fjtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:references:in-reply-to:subject:cc:to:from :date; bh=jeXLA1aVZq/mTvIx3KLO7icVNafDzk8CzUhDQBurK6Y=; fh=09a7y04qI/7r/NJx2rYCiA/1fBTB7wjymxjurzNRWAE=; b=B0skZi8tdNPEGlHxXGQP5sNsl12Sqv0y6KfONUhFaMB4zS8IH4T2o7x/onnYUoSbVL NdqBsykFA37xrdxHB2gjVxEFB9poiKcZpE59bxn7XfHPNLwEASxFjh5wxO3fo3bFdmZ/ xGfiafO/AdLY5dIEFNWro4/gaF0qtd9iwMIE8had8mf4SeVmB0VRnlxMMPSczZXGsfM4 cHIE67iv4R1N+mJptvph1iUcC/7FJddiT9d12TGehGMMlifEbEmDH/fdd2/OnLqA+0tt q8/9iuQdeiVUonmT7BXRjZ4J2Y35T5NB2fWOMaL7RdyOtp8U2TeS4SxYnpGJxtRy3T1w 2v+w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id bm1-20020a656e81000000b005b96662f77asi9771777pgb.482.2023.12.05.00.47.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 00:47:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 1AD4680A3670; Tue, 5 Dec 2023 00:47:40 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234787AbjLEIrT (ORCPT + 99 others); Tue, 5 Dec 2023 03:47:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229980AbjLEIrS (ORCPT ); Tue, 5 Dec 2023 03:47:18 -0500 X-Greylist: delayed 18583 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 05 Dec 2023 00:47:22 PST Received: from zg8tmja2lje4os4yms4ymjma.icoremail.net (zg8tmja2lje4os4yms4ymjma.icoremail.net [206.189.21.223]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 053E4C0; Tue, 5 Dec 2023 00:47:21 -0800 (PST) Received: from dinghao.liu$zju.edu.cn ( [10.190.70.5] ) by ajax-webmail-mail-app4 (Coremail) ; Tue, 5 Dec 2023 16:44:48 +0800 (GMT+08:00) X-Originating-IP: [10.190.70.5] Date: Tue, 5 Dec 2023 16:44:48 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: dinghao.liu@zju.edu.cn To: "Zhenyu Wang" Cc: "Peter Zijlstra" , "Ingo Molnar" , "Arnaldo Carvalho de Melo" , "Mark Rutland" , "Alexander Shishkin" , "Jiri Olsa" , "Namhyung Kim" , "Ian Rogers" , "Adrian Hunter" , "Thomas Gleixner" , "Borislav Petkov" , "Dave Hansen" , x86@kernel.org, "H. Peter Anvin" , "Colin Ian King" , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] perf/x86/uncore: fix a potential double-free in uncore_type_init X-Priority: 3 X-Mailer: Coremail Webmail Server Version 2023.2-cmXT5 build 20230825(e13b6a3b) Copyright (c) 2002-2023 www.mailtech.cn mispb-4df6dc2c-e274-4d1c-b502-72c5c3dfa9ce-zj.edu.cn In-Reply-To: References: <20231205032709.9525-1-dinghao.liu@zju.edu.cn> Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: <4e1e710a.1d65f.18c3926bb7d.Coremail.dinghao.liu@zju.edu.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: cS_KCgDHhtQA425l1FJOAA--.15055W X-CM-SenderInfo: qrrzjiaqtzq6lmxovvfxof0/1tbiAgoTBmVsUQg4xgASsh X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VW7Jw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 05 Dec 2023 00:47:40 -0800 (PST) PiBPbiAyMDIzLjEyLjA1IDExOjI3OjA5ICswODAwLCBEaW5naGFvIExpdSB3cm90ZToKPiA+IFdo ZW4ga3phbGxvYyBmb3IgcG11c1tpXS5ib3hlcyBmYWlscywgd2Ugc2hvdWxkIGNsZWFuIHVwIHBt dXMKPiA+IHRvIHByZXZlbnQgbWVtbGVhay4gSG93ZXZlciwgd2hlbiBremFsbG9jIGZvciBhdHRy X2dyb3VwIGZhaWxzLAo+ID4gcG11cyBoYXMgYmVlbiBhc3NpZ25lZCB0byB0eXBlLT5wbXVzLCBh bmQgZnJlZWluZyB3aWxsIGJlIGRvbmUKPiA+IGxhdGVyIG9uIGJ5IHRoZSBjYWxsZXJzLiBUaGUg Y2hhaW4gaXM6IHVuY29yZV90eXBlX2luaXQgLT4KPiA+IHVuY29yZV90eXBlc19pbml0IC0+IHVu Y29yZV9wY2lfaW5pdCAtPiB1bmNvcmVfdHlwZXNfZXhpdCAtPgo+ID4gdW5jb3JlX3R5cGVfZXhp dC4gVGhlcmVmb3JlLCBmcmVlaW5nIHBtdXMgaW4gdW5jb3JlX3R5cGVfaW5pdAo+ID4gbWF5IGNh dXNlIGEgZG91YmxlLWZyZWUuIEZpeCB0aGlzIGJ5IHNldHRpbmcgdHlwZS0+cG11cyB0bwo+ID4g TlVMTCBhZnRlciBrZnJlZS4KPiAKPiBDaGFuZ2UgaXMgb2sgYnV0IHRoZSBjYWxsIHRyYWNlIHlv dSB3cm90ZSBoZXJlIGlzIHJldmVyc2VkIG9yIG1hbGZvcm1lZD8/Cj4gV2l0aCB0aGF0IGZpeGVk IG9yIGNsZWFyZWQuCj4gCgpUaGFua3MgZm9yIHlvdXIgYWR2aWNlLiBJIHdpbGwgZml4IGl0IGFu ZCByZXNlbmQgYSBuZXcgcGF0Y2ggc29vbi4KClJlZ2FyZHMsCkRpbmdoYW8K