Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp9086085rwb; Thu, 24 Nov 2022 07:56:26 -0800 (PST) X-Google-Smtp-Source: AA0mqf7f7g/uaKD9uWWa8UDnV889EG85qIWT4ugNEjbl/FTN826kH6nrEefv9LohmV0ffUTqh/wS X-Received: by 2002:a17:907:2c49:b0:7ad:9891:8757 with SMTP id hf9-20020a1709072c4900b007ad98918757mr14806714ejc.335.1669305384291; Thu, 24 Nov 2022 07:56:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669305384; cv=none; d=google.com; s=arc-20160816; b=WOmfkwIxc72SjFxcKgNLuR0vZYQPFBb/tNfHwcWm4JQxE7klANpeA82D1ZZ0MlCRds 6wlx1bASykRbvzEU+KEvDVYCIOYH6/gm8gHgiSEQDpV8X7h4q2fZoBhL0TiWwjrG9y60 zUS64PvtavUc812jFolBZkntYm+ae/i7XlZsYRPNqXV0966A0XaZRutEufBBNIxYNW0f wFg7PLb0+Z3mU0zYxQC88CAGI7BV4uKU2+LyzAHSZreTY8siV46mxt2BuO4YLxmYeZou xivXvoE6awj8cswmjGX6GSWsJhaXOhiL5JMjTwHBFtExDtxTTwRhqdVXsRGn6fMvK+zK 9Z2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=KVU414zfbUm2A5y1GOkaZ9BZzgZN37LCy+XUUBznaxY=; b=gHBKfLQ7yC2SS1ARzK47w9QlUkvZGXzCyYERyIMsb4fpOLBAUXcEc7QI2AChpTH/RL lEbACdxQCnXq6fBhFoKpV2xVmbpNFidlxCyXIgZwKcIYSVNkQqx8gMxCw3whScBsghVz ZemSvvzB4ZgIHGmesDXbyY1zN8NHX2Yq/hPXjaRPbgowRKPQaSoZx1ltZ8GiTPQ4w9sG bTfrRp8VXlLVcBwoC6mAp5dwf5WSeS3yAu/CIgdGTpBciVsLJm5TUa9J6+DxhrkmBwxX 9vOwTlB7shOZGpjQ4tWvKJcPx7NvjmzqNw6WIoGfWcY5mJgwo/w0b6uEtrKaqG/m/ijS J9iA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=cYzDwpaI; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f9-20020a056402354900b0045d22bc81a0si1564511edd.231.2022.11.24.07.56.02; Thu, 24 Nov 2022 07:56:24 -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=@suse.com header.s=susede1 header.b=cYzDwpaI; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229846AbiKXPkF (ORCPT + 86 others); Thu, 24 Nov 2022 10:40:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229747AbiKXPjt (ORCPT ); Thu, 24 Nov 2022 10:39:49 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 082781173C7 for ; Thu, 24 Nov 2022 07:39:48 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id B4EB421116; Thu, 24 Nov 2022 15:39:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1669304386; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=KVU414zfbUm2A5y1GOkaZ9BZzgZN37LCy+XUUBznaxY=; b=cYzDwpaI/9LjCBKGYfXmH3ZQkZ9vN3HHBWO7UR8awdBVreEAHQfsTz+AjL/uKmJ6uoQvXk JGoY96nQ6+G4+zjiLpg/N2HGyGGKawVBy36Ufjy5Ldkz5APSaTIDJMHt/1Id/X3c4LbBxY YRNJjOumJ1IWEJH+bbkhc5dS9engY7s= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 5E4A913B4F; Thu, 24 Nov 2022 15:39:46 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 1oGOFUKQf2O0cAAAMHmgww (envelope-from ); Thu, 24 Nov 2022 15:39:46 +0000 Message-ID: Date: Thu, 24 Nov 2022 16:39:45 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH v2 1/2] x86/xen: Fix memory leak in xen_smp_intr_init{_pv}() Content-Language: en-US To: Xiu Jianfeng , boris.ostrovsky@oracle.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, jeremy@goop.org Cc: x86@kernel.org, xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org References: <20221123155858.11382-1-xiujianfeng@huawei.com> <20221123155858.11382-2-xiujianfeng@huawei.com> From: Juergen Gross In-Reply-To: <20221123155858.11382-2-xiujianfeng@huawei.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------S35eaZd0j89mmKCyPx08j3kb" X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------S35eaZd0j89mmKCyPx08j3kb Content-Type: multipart/mixed; boundary="------------whnj3FRMM09BBjAxi0ZWTByg"; protected-headers="v1" From: Juergen Gross To: Xiu Jianfeng , boris.ostrovsky@oracle.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, jeremy@goop.org Cc: x86@kernel.org, xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org Message-ID: Subject: Re: [PATCH v2 1/2] x86/xen: Fix memory leak in xen_smp_intr_init{_pv}() References: <20221123155858.11382-1-xiujianfeng@huawei.com> <20221123155858.11382-2-xiujianfeng@huawei.com> In-Reply-To: <20221123155858.11382-2-xiujianfeng@huawei.com> --------------whnj3FRMM09BBjAxi0ZWTByg Content-Type: multipart/mixed; boundary="------------a9LCdkXEub1w0kVnalGgGY1q" --------------a9LCdkXEub1w0kVnalGgGY1q Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMjMuMTEuMjIgMTY6NTgsIFhpdSBKaWFuZmVuZyB3cm90ZToNCj4gVGhlc2UgbG9jYWwg dmFyaWFibGVzIEB7cmVzY2hlZHxwbXV8Y2FsbGZ1bmMuLi59X25hbWUgc2F2ZXMgdGhlIG5l dw0KPiBzdHJpbmcgYWxsb2NhdGVkIGJ5IGthc3ByaW50ZigpLCBhbmQgd2hlbiBiaW5kX3t2 fWlwaV90b19pcnFoYW5kbGVyKCkNCj4gZmFpbHMsIGl0IGdvZXMgdG8gdGhlIEBmYWlsIHRh ZywgYW5kIGNhbGxzIHhlbl9zbXBfaW50cl9mcmVle19wdn0oKSB0bw0KPiBmcmVlIHJlc291 cmNlLCBob3dldmVyIHRoZSBuZXcgc3RyaW5nIGlzIG5vdCBzYXZlZCwgd2hpY2ggY2F1c2Ug YSBtZW1vcnkNCj4gbGVhayBpc3N1ZS4gZml4IGl0Lg0KPiANCj4gRml4ZXM6IDk3MDI3ODVh NzQ3YSAoImkzODY6IG1vdmUgeGVuIikNCj4gU2lnbmVkLW9mZi1ieTogWGl1IEppYW5mZW5n IDx4aXVqaWFuZmVuZ0BodWF3ZWkuY29tPg0KDQpSZXZpZXdlZC1ieTogSnVlcmdlbiBHcm9z cyA8amdyb3NzQHN1c2UuY29tPg0KDQoNCkp1ZXJnZW4NCg0K --------------a9LCdkXEub1w0kVnalGgGY1q Content-Type: application/pgp-keys; name="OpenPGP_0xB0DE9DD628BF132F.asc" Content-Disposition: attachment; filename="OpenPGP_0xB0DE9DD628BF132F.asc" Content-Description: OpenPGP public key Content-Transfer-Encoding: quoted-printable -----BEGIN PGP PUBLIC KEY BLOCK----- xsBNBFOMcBYBCACgGjqjoGvbEouQZw/ToiBg9W98AlM2QHV+iNHsEs7kxWhKMjri oyspZKOBycWxw3ie3j9uvg9EOB3aN4xiTv4qbnGiTr3oJhkB1gsb6ToJQZ8uxGq2 kaV2KL9650I1SJvedYm8Of8Zd621lSmoKOwlNClALZNew72NjJLEzTalU1OdT7/i 1TXkH09XSSI8mEQ/ouNcMvIJNwQpd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V4on+gDVFJR6Y8ZRwgnBC5mVM6JjQ5x Dk8WRXljExRfUX9pNhdE5eBOZJrDRoLUmmjDtKzWaDhIg/+1Hzz93X4fCQkNVbVF LELU9bMaLPBG/x5q4iYZ2k2ex6d47YE1ZFdMm6YBYMOljGkZKwYde5ldM9mo45mm we0icXKLkpEdIXKTZeKDO+Hdv1aqFuAcccTg9RXDQjmwhC3yEmrmcfl0+rPghO0I v3OOImwTEe4co3c1mwARAQABwsBfBBgBAgAJBQJTjHAWAhsMAAoJELDendYovxMv Q/gH/1ha96vm4P/L+bQpJwrZ/dneZcmEwTbe8YFsw2V/Buv6Z4Mysln3nQK5ZadD 534CF7TDVft7fC4tU4PONxF5D+/tvgkPfDAfF77zy2AH1vJzQ1fOU8lYFpZXTXIH b+559UqvIB8AdgR3SAJGHHt4RKA0F7f5ipYBBrC6cyXJyyoprT10EMvU8VGiwXvT yJz3fjoYsdFzpWPlJEBRMedCot60g5dmbdrZ5DWClAr0yau47zpWj3enf1tLWaqc suylWsviuGjKGw7KHQd3bxALOknAp4dN3QwBYCKuZ7AddY9yjynVaD5X7nF9nO5B jR/i1DG86lem3iBDXzXsZDn8R38=3D =3D2wuH -----END PGP PUBLIC KEY BLOCK----- --------------a9LCdkXEub1w0kVnalGgGY1q-- --------------whnj3FRMM09BBjAxi0ZWTByg-- --------------S35eaZd0j89mmKCyPx08j3kb Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEhRJncuj2BJSl0Jf3sN6d1ii/Ey8FAmN/kEIFAwAAAAAACgkQsN6d1ii/Ey9A Ngf+JW1FpJQ3Q/U1OwyMpz6NnvZJ0UaaHX7PCntua7xqGOiSsrZor4jNe9JH92ieett/gs33m9wK DIY0qJSg7JqInXguaTMyxOOSfR2r2ziX+ce86Eo+ybaxO7UWIeFO0RmzstsRZq4tv/XQE2bvswF7 /KU+ZvCLLrvfp1+7TxMdAJEzRbgZF14Y74JuC9Z4F5BqxIr7EnGDIsSjthQgKnej4cBtQDXYyqhx 63zMbtzqqhOyTWfP3rHsiaoeXfuR8WUBzSdSVkUn3vrd4UY6XcRPS1NO/p0Jf5Am61mV8+RWUaA2 O1CfT0gWL9qe2rACNhWea6aLzStps6181AyUwltgbQ== =gyfQ -----END PGP SIGNATURE----- --------------S35eaZd0j89mmKCyPx08j3kb--