Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7200587ybi; Mon, 8 Jul 2019 16:47:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqyzs0ZVlD2bx3adBqPYR1i3AzUryji9UkTZrrSkuT5whdiMhn+PWQy3Zqo8yU1qIAyJUSiS X-Received: by 2002:a17:90a:7d09:: with SMTP id g9mr28376782pjl.38.1562629646656; Mon, 08 Jul 2019 16:47:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562629646; cv=none; d=google.com; s=arc-20160816; b=H3p1niMVphMxkY/2gBG6Q9f2CP8DPrT1hPQuvq+0ZWO6snCu+00rqgkBLOIESLkHDv ge6/pXshwmuYC95XWHdPw3TfpciBanErIhNV0hR8kGcUnAvXu78FQu5SXVvj6S5Oluvt d971Riw4gpaopm6YTCzOCHhmksiXKKornkxcrEHMuibVazUw6yFr9IgK3fJX9sHa7z69 mQZCfdzn66RBgPNZk5sDoGP+VvkUy0XmE1PnrZmAym3n2hna1+B2mM4aCGrHUCcgXfiO vZEcQYbsbQtJn8fTc2UkMAwT3T036i8Jt+W0Gaqap1K8x0dHu6GyvOiZrk9OcF/FRcp4 3piQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=c9jTnl/UShTZpHRfBUwPJTiplUcO0GIxTXHSrQ4MD+M=; b=002HYEVJeUZR/FBXKsdrVfYxM/Rwtk4f5hxNRNTg0YYaeUOCsfYHHNCUyPwyikNPkh AOqDYJEFuuMuFLkBFdzMs48ggK8mKHJc2R1AJNODHyCMWmQ1w1QTx7aE5R4pbswwonO1 TcyA3aX3m72CY+45EB2z+nl7mBAhtsJR8K5IiPyrMexiiY91BzAz5hQW/V1cRzy8OxtL 2igJJzGzAYNtMcAXtIjZmeYlvhQdyNrHiLYt085KInO09tVgdwCX1ZZc1vjvp/l6cQoU IHOFU+KzZbCMYSgUX6HFo9SNrKlLsTcF/QMGyY0EtWOevI0gRBWBLG04wfELPkwRE+A5 V23g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Fa4ykB4l; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u10si19559128pgh.83.2019.07.08.16.47.11; Mon, 08 Jul 2019 16:47:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Fa4ykB4l; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727189AbfGHXQk (ORCPT + 99 others); Mon, 8 Jul 2019 19:16:40 -0400 Received: from mail-lj1-f169.google.com ([209.85.208.169]:36700 "EHLO mail-lj1-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726330AbfGHXQj (ORCPT ); Mon, 8 Jul 2019 19:16:39 -0400 Received: by mail-lj1-f169.google.com with SMTP id i21so17657997ljj.3; Mon, 08 Jul 2019 16:16:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=c9jTnl/UShTZpHRfBUwPJTiplUcO0GIxTXHSrQ4MD+M=; b=Fa4ykB4lqbBNATfeIOD3e6BfGjg99XLQuDmszUAD5s/kUNzNqW08HFcRNcDDDG4xmE ggC6yB41fTaYI0HzlcgxdzZkccfl6Lrb5I0U1vBfHRSsZKRGvuqQsnuuJ/60Na9SoLuP z1dgQFqppKCjSdjT+wXcJWgP77RT6e/nCIpqD/85aMZr6HNNB0aGe3BxkPYU/5k3tExD FoxFCUxGwowFTn39BzoFAq7ja/6ad6p1O/79u2U7G0tMWck5t4+3gB4C0KFk649DtV83 AiGbBp3ThEz4vXakVn866B0yydiqSTgP0s7YGP+CsDVmMRITKlsPmPDMVn90l4BMuGSX 7M2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=c9jTnl/UShTZpHRfBUwPJTiplUcO0GIxTXHSrQ4MD+M=; b=kRFsw5iZaMBVjfxrW3F/SHlzl/3ejXrDwGQw5WndQ5Z0poY6FjGKhLX2BD6erT4XWr Poa19/6my89FhZzMHMvFm9pJ/1szuI65+0ETkAAX8c+BrxHpRsF0Yn4m2Kso71GOdLmp 79fb/16Mmqjh2rHoBg2rWfwWO7vhidCBC9BcimABVk350GP9LCisyTLY0YIbnxzEpBp7 KY4mxlTFX+DN4AP0YIWzRxpEbXJWxUi9t2zytWOwD7mXPUqu7afNzpGP30SzPvfDJV+I fJa94FdGWHWA1A4/ld64/Nh5imFrL04dpOVpNqRgI+C7I4PCGfgwGxXBcfta+/YuWEY0 r0EA== X-Gm-Message-State: APjAAAVXsGZVjHd772m4QjeBm4Mj+ljPfQmPwwkA4hW+8cGy4wC1LCVd yKr3DBDFsvLXl0Lbvb1U30Uq8ifdNwKrDeM7Cf4Igk69 X-Received: by 2002:a2e:7818:: with SMTP id t24mr8337917ljc.210.1562627797057; Mon, 08 Jul 2019 16:16:37 -0700 (PDT) MIME-Version: 1.0 References: <881939122b88f32be4c374d248c09d7527a87e35.1561685471.git.jpoimboe@redhat.com> <20190706202942.GA123403@gmail.com> <20190707013206.don22x3tfldec4zm@treble> <20190707055209.xqyopsnxfurhrkxw@treble> <20190708223834.zx7u45a4uuu2yyol@treble> <20190708225359.ewk44pvrv6a4oao7@treble> <20190708230201.mol27wzansuy3n2v@treble> In-Reply-To: <20190708230201.mol27wzansuy3n2v@treble> From: Alexei Starovoitov Date: Mon, 8 Jul 2019 16:16:25 -0700 Message-ID: Subject: Re: [tip:x86/urgent] bpf: Fix ORC unwinding in non-JIT BPF code To: Josh Poimboeuf Cc: Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Song Liu , Thomas Gleixner , Steven Rostedt , Kairui Song , Daniel Borkmann , Alexei Starovoitov , Peter Zijlstra , LKML , linux-tip-commits@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 8, 2019 at 4:02 PM Josh Poimboeuf wrote: > > > > > > modprobe test_bpf > > > selftests/bpf/test_progs > > > both print runtime. > > > Some of test_progs have high run-to-run variations though. > > > > Thanks, I'll give it a shot. > > I modprobed test_bpf with JIT disabled. > > Before: 2.493018s > After: 2.523572s > > So it looks like it's either no change, or slightly slower. total time is hard to compare. Could you compare few tests? like two that are called "tcpdump *" I think small regression is ok. Folks that care about performance should be using JIT.