Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp9078805rwb; Thu, 24 Nov 2022 07:50:17 -0800 (PST) X-Google-Smtp-Source: AA0mqf4YBv6Rhn1GPaht4Bl8Pt0F3SnJv/uVQA0hsIwyQ1xRhknNLABv41bS4XUn3bLHBYLNfUMG X-Received: by 2002:a17:907:3117:b0:7ae:6746:f26b with SMTP id wl23-20020a170907311700b007ae6746f26bmr28402514ejb.171.1669305017510; Thu, 24 Nov 2022 07:50:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669305017; cv=none; d=google.com; s=arc-20160816; b=0skBvYeDwJNetQCqNVWJgxOBwN07jkMzC3o2X4mYjjFFVa92FofWSjPJp++Itr3dTF gGMyJ11cGoA6MWiIWb/7kt5/N0cesfUCCWiL0FrKAbVCAk85xYko3vLJEKChqVK5W7pH 0BWXFIwfz17arEQcCbmOqaJ8Z0Nvv+rEEaZivxhpuLrtKule/K5M7MftSdsKgRZJj5BD 0hprIqIm8ZL6QjhqZ408vEjJ2idlw/Kz4b3wyUsE/XwxtcN9f34the3Pct9KNNDA6BJ+ n5thGa6aWX0hlZIEa1Jt849cASlq9fBgAQMugO+ryRw2TYnMJb04P4dLtw1nS9fpe+y3 PPzA== 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=M43Sq4E5bN0CSI+TVPLNQU1qdDXk/NKQyKKWB2HL/b8=; b=LgFSd02UhC+vCB4F75wfK24tM6pGW7kYbGC0sGgnxhxGSGEVG2BDwXciDVhws9ZaL8 E8v9xgPP+rTsrOKBAC+Ro1N+EkHI8gEmwZQ66QXRkpQFFXNk+GlB1VXp5GcRRHYPKc1q g/QuwDWTI61XwMT2HSBeL0FctvabWNrwrSkta5OOb74gAslGB6pEpfDIVubCp2kxixDj 0KKKHk6dkIYJxAxP6vaaf5QAmndmzUeyQ7guFb8cqA6rsUoPTCC8zVarIJdOPXAEfzqt cDpdI1mqgYvW7JOMM/V4o1y7Ustpsddp6xI4i6P4t8/KPjTbL00D0nskuqmChVYLkAwF udvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=LC+IBh4F; 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 dy2-20020a05640231e200b00462e4cbe815si1137993edb.550.2022.11.24.07.49.28; Thu, 24 Nov 2022 07:50:17 -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=LC+IBh4F; 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 S229743AbiKXPk2 (ORCPT + 87 others); Thu, 24 Nov 2022 10:40:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229681AbiKXPkY (ORCPT ); Thu, 24 Nov 2022 10:40:24 -0500 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B71FAFDDAE for ; Thu, 24 Nov 2022 07:40:23 -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-out2.suse.de (Postfix) with ESMTPS id 770ED1F854; Thu, 24 Nov 2022 15:40:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1669304422; 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=M43Sq4E5bN0CSI+TVPLNQU1qdDXk/NKQyKKWB2HL/b8=; b=LC+IBh4FSJytL4ZKN0kNCcivseNpaPNaEW8p+pDd+vOU4pueN9fjUcWBDNREBZ1mPeGXH3 ct77h/MrHb9AJbAun1Pt0CQpsc2HB6v9h1nTavlM5iMZ4pekVbTFqlSS4krPQnLWk2MTba OziTnjdI2zwq40zKlD4iI4e2grynR+E= 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 275E313B4F; Thu, 24 Nov 2022 15:40:22 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id MdjmB2aQf2MZcQAAMHmgww (envelope-from ); Thu, 24 Nov 2022 15:40:22 +0000 Message-ID: <08829868-2c84-8ec9-936d-e6814edaf4c7@suse.com> Date: Thu, 24 Nov 2022 16:40:21 +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 2/2] x86/xen: Fix memory leak in xen_init_lock_cpu() 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-3-xiujianfeng@huawei.com> From: Juergen Gross In-Reply-To: <20221123155858.11382-3-xiujianfeng@huawei.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------g71cZsF08Iq2xNN0ChTv5qHm" 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) --------------g71cZsF08Iq2xNN0ChTv5qHm Content-Type: multipart/mixed; boundary="------------zz8IykRPSugzkPiOuLEBOuZW"; 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: <08829868-2c84-8ec9-936d-e6814edaf4c7@suse.com> Subject: Re: [PATCH v2 2/2] x86/xen: Fix memory leak in xen_init_lock_cpu() References: <20221123155858.11382-1-xiujianfeng@huawei.com> <20221123155858.11382-3-xiujianfeng@huawei.com> In-Reply-To: <20221123155858.11382-3-xiujianfeng@huawei.com> --------------zz8IykRPSugzkPiOuLEBOuZW Content-Type: multipart/mixed; boundary="------------chaXyuWdvybov2Rsq7Xk2SdP" --------------chaXyuWdvybov2Rsq7Xk2SdP Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMjMuMTEuMjIgMTY6NTgsIFhpdSBKaWFuZmVuZyB3cm90ZToNCj4gSW4geGVuX2luaXRf bG9ja19jcHUoKSwgdGhlIEBuYW1lIGhhcyBhbGxvY2F0ZWQgbmV3IHN0cmluZyBieSBrYXNw cmludGYoKSwNCj4gaWYgYmluZF9pcGlfdG9faXJxaGFuZGxlcigpIGZhaWxzLCBpdCBzaG91 bGQgYmUgZnJlZWQsIG90aGVyd2lzZSBtYXkgbGVhZA0KPiB0byBhIG1lbW9yeSBsZWFrIGlz c3VlLCBmaXggaXQuDQo+IA0KPiBGaXhlczogMmQ5ZTFlMmY1OGI1ICgieGVuOiBpbXBsZW1l bnQgWGVuLXNwZWNpZmljIHNwaW5sb2NrcyIpDQo+IFNpZ25lZC1vZmYtYnk6IFhpdSBKaWFu ZmVuZyA8eGl1amlhbmZlbmdAaHVhd2VpLmNvbT4NCg0KUmV2aWV3ZWQtYnk6IEp1ZXJnZW4g R3Jvc3MgPGpncm9zc0BzdXNlLmNvbT4NCg0KDQpKdWVyZ2VuDQoNCg== --------------chaXyuWdvybov2Rsq7Xk2SdP 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/ouNcMvIJNwQpd369y9bfIhWUiVXEK7MlRgUG6MvIj6Y3Am/B BLUVbDa4+gmzDC9ezlZkTZG2t14zWPvxXP3FAp2pkW0xqG7/377q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z93X4fCQkNVbVF 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----- --------------chaXyuWdvybov2Rsq7Xk2SdP-- --------------zz8IykRPSugzkPiOuLEBOuZW-- --------------g71cZsF08Iq2xNN0ChTv5qHm 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/kGUFAwAAAAAACgkQsN6d1ii/Ey8+ Ngf8CR1nYyQ6myrATb6TqeVL3tznFOZeNSwPZ95St0vd2ku2qoUpUsxNgEH/UJQjD8lllBQvkMS4 WWxLK0VfJ783ZKid4ropnDhNvaDLsAR983pgvvVM54CADN3frawJbUbv1qgf5OoDqIzntDONOXXT fGd82BcYCff0qZ4BgFjseMKiLROigoui4ciPw22+ENkShfmeHUVhfWp8Em9jQ8m7S3gyGy3Jp1Da TFX8svclJzTisPG72kXGsQGxD35PJR5mN+P6ePcIMsXRFBPtzNat55gfBG8NIvSEA2UtVoZezF35 5yLw+LebRCKQZx9AuizlR/6oKcEyQMmwO/ozOu+HSQ== =cjx7 -----END PGP SIGNATURE----- --------------g71cZsF08Iq2xNN0ChTv5qHm--