From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.zx2c4.com (lists.zx2c4.com [165.227.139.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2803CC433F5 for ; Mon, 13 Dec 2021 16:42:36 +0000 (UTC) Received: by lists.zx2c4.com (OpenSMTPD) with ESMTP id 4402a872; Mon, 13 Dec 2021 16:39:29 +0000 (UTC) Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [2a00:1450:4864:20::334]) by lists.zx2c4.com (OpenSMTPD) with ESMTPS id 34bc8c90 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Mon, 13 Dec 2021 16:39:28 +0000 (UTC) Received: by mail-wm1-x334.google.com with SMTP id p27-20020a05600c1d9b00b0033bf8532855so11997021wms.3 for ; Mon, 13 Dec 2021 08:39:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=grsecurity.net; s=grsec; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Oc5GE9jEiJTWMFxEvwdVqaWvI4oL9p54G19XCnDeonw=; b=JbsOzf9jPubZiI/Dzwy9sNaWS2saU0equHjlY7Na6Q5hWpke5S/GmAj1+is6Ng4vIH ByQaaogAMMyoROXeNqwGSKlqiPtQpVa1iNOgG03TmMRsAxhvvF1Ts2V2qeoXUDpZEr0I rI5Lp5J00HqOfUKP6BR96MZgY1f5IpuTr+A/L/MCNck2I6d43VOsplam2PpQKeewu+hy yjTXFOMqWbuBvLJJpG0b2vIyK0EPY3Y+AlBT7rtTeSJnEGl8tmBRJ2y466KkXvEpWQXo cux2gpFGA2ia6fTgvwVNuJQsm94FTzntH2ucMW4prvwEk6/CW/l/u32FL+5B12rlkb4T /lYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Oc5GE9jEiJTWMFxEvwdVqaWvI4oL9p54G19XCnDeonw=; b=QmuDAJOmuFFTxm2h0dzSDgYMJypuePEpJ+Gw5GCcoinN7skGhVoMh2BjFLSaE1KZjh XiiavEDO+KfbJJnZtcyo9Oq+tXQcK1o7wIx8uw0k4XSpPby3CIM5me+5opVu9gw1UsOb alvUVvlcg1wSLw3CH+vEPymHJjHO9AaX+J7xKHoABdN1phr/ONvUF6+ph8xBRmaafpwC +yzkWhKpTk5gnLXxIb57V7v8WZroD2RrZe+k91T4UfA3AcIHvlQuYrCLQ/ywJBakZ+d3 rPHiGffq/yXa9FoImuf4fH2HfrvHgWZD7CuGPFdRdC2abkHNetdFLion8vnqex94rxmA eYSg== X-Gm-Message-State: AOAM5305wTKzHLsZAjGch3u486TmvwVbU2m8bNxUM7gik1wuTzNPn96w V6+Wu9c9EuISMHWlryRIJL1hEZJ5X95DCQ== X-Google-Smtp-Source: ABdhPJz4wkbDOIRtJzRsndDTFGrE0GingKg8tXTyKe0AnRo/uR7wmDlWFjGJmWdjCofepWVNusMkLQ== X-Received: by 2002:a7b:cc94:: with SMTP id p20mr38238825wma.162.1639413567708; Mon, 13 Dec 2021 08:39:27 -0800 (PST) Received: from ?IPv6:2003:f6:af02:e900:e406:554b:c2af:e2f9? (p200300f6af02e900e406554bc2afe2f9.dip0.t-ipconnect.de. [2003:f6:af02:e900:e406:554b:c2af:e2f9]) by smtp.gmail.com with ESMTPSA id v9sm9254505wrb.107.2021.12.13.08.39.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 13 Dec 2021 08:39:27 -0800 (PST) Subject: Re: [PATCH 0/2] wireguard-linux-compat: grsecurity compat patches To: "Jason A. Donenfeld" Cc: WireGuard mailing list , Aymeric Fromherz , Karthik Bhargavan References: <20210706132714.8220-1-minipli@grsecurity.net> <3ed9270f-00da-5c88-cadd-59b4419b9a98@grsecurity.net> <30231bb2-50e0-3880-b705-942b263eafe8@grsecurity.net> <1554725710.1290070.1639240504281.JavaMail.zimbra@inria.fr> <3a1be638-4ddd-44c0-87aa-56cd26f4f396@grsecurity.net> <2026222873.1815432.1639405220767.JavaMail.zimbra@inria.fr> From: Mathias Krause Message-ID: Date: Mon, 13 Dec 2021 17:39:26 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: wireguard@lists.zx2c4.com X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: wireguard-bounces@lists.zx2c4.com Sender: "WireGuard" Am 13.12.21 um 17:33 schrieb Jason A. Donenfeld: >> root@box:~# ./run.sh >> [+] Setting no-turbo to status 1 >> [+] Setting non-boot CPUs to status 0 >> [+] Inserting module to run tests >> insmod: ERROR: could not insert module kbench9000.ko: Unknown symbol in >> module >> [+] Gathering results >> ever64: 115100 cycles per call >> ever64_out_r: 115080 cycles per call >> ever64_out_rm: 113957 cycles per call >> [+] Setting non-boot CPUs to status 1 >> [+] Setting no-turbo to status 0 >> >> Slightly faster. > > Huh, that's actually a pretty nice speedup for just changing register > allocation... What CPU is this? It's an "Intel(R) Core(TM) i9-9900 CPU @ 3.10GHz" But shouldn't matter all that much, as the inline ASM is integer ops only. Mathias