Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 23C33C2BA19 for ; Wed, 15 Apr 2020 08:56:31 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E263220737 for ; Wed, 15 Apr 2020 08:56:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=citrix.com header.i=@citrix.com header.b="M06zByUL" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E263220737 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=citrix.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1jOdq7-0002HB-UZ; Wed, 15 Apr 2020 08:56:11 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1jOdq6-0002H0-CK for xen-devel@lists.xenproject.org; Wed, 15 Apr 2020 08:56:10 +0000 X-Inumbo-ID: f2af570e-7ef6-11ea-8a1b-12813bfff9fa Received: from esa2.hc3370-68.iphmx.com (unknown [216.71.145.153]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id f2af570e-7ef6-11ea-8a1b-12813bfff9fa; Wed, 15 Apr 2020 08:56:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1586940970; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=aFv2mFDiaRCaSEHaajHR03BkVtQjCe9QkUEvdRhO92Y=; b=M06zByULz3Z9OfYgA6lnkNgm40jvA7/EQ5obyRRyJ5gtOhx3jiuL02SO RSb81ppwBAo0rMZUiLrOPHLsOjU0dqVDkh2BqQ36/smCAxMAbifPY4T6t HGr3X51l3FxuY+w3UpkpY3XKPelegXEvhmnZu2Dn2LHz5HWlpDbiZafUD c=; Authentication-Results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=andrew.cooper3@citrix.com; spf=Pass smtp.mailfrom=Andrew.Cooper3@citrix.com; spf=None smtp.helo=postmaster@mail.citrix.com Received-SPF: None (esa2.hc3370-68.iphmx.com: no sender authenticity information available from domain of andrew.cooper3@citrix.com) identity=pra; client-ip=162.221.158.21; receiver=esa2.hc3370-68.iphmx.com; envelope-from="Andrew.Cooper3@citrix.com"; x-sender="andrew.cooper3@citrix.com"; x-conformance=sidf_compatible Received-SPF: Pass (esa2.hc3370-68.iphmx.com: domain of Andrew.Cooper3@citrix.com designates 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; receiver=esa2.hc3370-68.iphmx.com; envelope-from="Andrew.Cooper3@citrix.com"; x-sender="Andrew.Cooper3@citrix.com"; x-conformance=sidf_compatible; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:209.167.231.154 ip4:178.63.86.133 ip4:195.66.111.40/30 ip4:85.115.9.32/28 ip4:199.102.83.4 ip4:192.28.146.160 ip4:192.28.146.107 ip4:216.52.6.88 ip4:216.52.6.188 ip4:162.221.158.21 ip4:162.221.156.83 ip4:168.245.78.127 ~all" Received-SPF: None (esa2.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa2.hc3370-68.iphmx.com; envelope-from="Andrew.Cooper3@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: +EEVJ73GOUWEfQ10qi/ynHIJ8fT79e/6wc7jLDbXjFM+0dIAmSfijPpVtIOwvk8Zx8icbKoMnJ 4GFwG2Chz7cyggKvRD2EpFaGgmJDroYvcF9shS8RxWAFMm1eswxigPBfzqBcjotKR5R9vMN5zQ 7eTXQGm57C/qkxGeXbwNBcc0FixwnAMfR7ZTgQomdrN+kmognsSTLhZ0yE+DNy1xhc3FmayipC D2QJkyO2zn1RV1KXbduyGxxXajh4NAvdlqgo1ydkG4DJ49IlQQt8ZpXlHcsjhVhrG728vUaE8u 97A= X-SBRS: 2.7 X-MesageID: 15714068 X-Ironport-Server: esa2.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.72,386,1580792400"; d="scan'208";a="15714068" Subject: Re: [PATCH 0/3] xenoprof: XSA-313 follow-up To: , 'Jan Beulich' , References: <25c5b76f-4f95-3ba9-0ae0-dd0c1f3f8496@suse.com> <002801d61302$dbd21950$93764bf0$@xen.org> From: Andrew Cooper Message-ID: <155ff149-bb9c-db71-f54e-2b91eb1474c1@citrix.com> Date: Wed, 15 Apr 2020 09:56:04 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <002801d61302$dbd21950$93764bf0$@xen.org> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Language: en-GB X-ClientProxiedBy: AMSPEX02CAS02.citrite.net (10.69.22.113) To AMSPEX02CL02.citrite.net (10.69.22.126) X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: 'Julien Grall' , 'Stefano Stabellini' , 'Ian Jackson' , 'George Dunlap' , 'Wei Liu' Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" On 15/04/2020 09:50, Paul Durrant wrote: >> -----Original Message----- >> From: Jan Beulich >> Sent: 15 April 2020 09:45 >> To: xen-devel@lists.xenproject.org >> Cc: Andrew Cooper ; George Dunlap ; Ian Jackson >> ; Julien Grall ; Stefano Stabellini >> ; Wei Liu ; Paul Durrant >> Subject: [PATCH 0/3] xenoprof: XSA-313 follow-up >> >> Patch 1 was considered to become part of the XSA, but it was then >> decided against. The other two are a little bit of cleanup, albeit >> there's certainly far more room for tidying. Yet then again Paul, >> in his mail from Mar 13, was asking whether we shouldn't drop >> xenoprof altogether, at which point cleaning up the code would be >> wasted effort. >> > That's still my opinion. This is a large chunk of (only passively maintained) code which I think is of very limited value (since it relates to an old tool, and it only works for PV domains). ... and yet, noone has bothered getting any other profiler in to a half-usable state. You can already Kconfig it out, and yes it is a PITA to use on modern systems where at the minimum, you need to patch the CPU model whitelist, and in some cases extend the MSR whitelist in Xen, but at this point where there are 0 viable alternatives for profiling, removing it would be a deeply short-sighted move. ~Andrew