Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1050655imm; Wed, 26 Sep 2018 10:47:14 -0700 (PDT) X-Google-Smtp-Source: ACcGV63d4f6KzOp1vc3LibVQppH63bBM4WpDLFUvtLKOVXHWXFBdAc7v9Zn/FJYEaGnu5kEeTFpr X-Received: by 2002:a63:906:: with SMTP id 6-v6mr6540112pgj.92.1537984034619; Wed, 26 Sep 2018 10:47:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537984034; cv=none; d=google.com; s=arc-20160816; b=WKPe9MRCjDURjYhJ5+b3GtUjfVjivlvyDyYRTiSuAxNBcqC5kyAJpBKVKOaVsdGiL7 XOAq2FM65/z2Yd0r6Nlnq5ZOEzmDEi4uHk1ht31zwDGciqvjpWOUG7kHgR4g02gnWKuf 5Cb1ilrUZY4jf2F4l34Qx82VOyq0Ro4Ey/E8SCDtqJU/sKDXSsfk4EhtFmOkRpfge2F0 m7od+h3y09+1zJ0kuokIW8g7JQFpGgOifQ3p8XfNwgTbNPonQ2LPfN4b0kM5mAYxeUWU YYhdtqa01WGghG6GCFu/DYxBH399XzlcUE2vYgCakK5HoAtRWNb0kYBtNqvWZQVyQwvS ILjw== 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=6u0RshIJtNpjj6fyY7TIL0UPPU3ZfmYk7V3/fczfq5o=; b=czKOTv46A99yApT5rBt/ys/NdYqIypXLR9aHeAZTx9chLgCTMj74Whl4VK+L2K/1lM WMrTMOlqiiGd3v+ybRKxv+5GmqmSMK9LJmGgOZGuyhX0lON28Ps/0KxO7nsZ1AN5YhZ7 RKxwjVRDNPEvznoSF3a76pqlt5lgUMRvXny36HZUdLkKQFA6icWxiKhV8NaPha0zuRd4 G5AK8rdoauHjyVe+H/Y5HCaJDwaIdTGb4s8RTsAVkJXYfis+V3iS4MUOM90f2spcQcB2 HynTq1RjRczIualmBtgLhPVnU90hFnr9V+aVZAB5l12F4fb6AJZWgUuv8owlNOkkJ3e+ yEDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=mail header.b=rkAPjUpk; 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=NONE dis=NONE) header.from=zx2c4.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 98-v6si5470218pld.46.2018.09.26.10.46.58; Wed, 26 Sep 2018 10:47:14 -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=@zx2c4.com header.s=mail header.b=rkAPjUpk; 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=NONE dis=NONE) header.from=zx2c4.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728377AbeI0AA4 (ORCPT + 99 others); Wed, 26 Sep 2018 20:00:56 -0400 Received: from frisell.zx2c4.com ([192.95.5.64]:56295 "EHLO frisell.zx2c4.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727649AbeI0AA4 (ORCPT ); Wed, 26 Sep 2018 20:00:56 -0400 Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 2554726e; Wed, 26 Sep 2018 17:28:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=zx2c4.com; h=mime-version :references:in-reply-to:from:date:message-id:subject:to:cc :content-type; s=mail; bh=0TihzqTR2QyPxwCOyTfvX2QStDo=; b=rkAPjU pkCwQ9eRzwhVSzlkEi2pQbX4MZQs7teePC/pFBb8czk9hzOyLIgwHHsmQhFzULA3 04OrYc7xjayXcswg9U2HrdLdPV45UZYMnvMmuWcefbgMLBqxXnvFE24ugOYQRVRT 1UtZ+HhVAQ0qu3rN8Rp5EJs9ZXSzRaA15IXEZUXZYpUHMmfXxp6Tpi/Id1tXqT/L I7L1NDXI29iO2ruw4AJUp8SGRcarm5wdisRRaDFgy6X7RM9iuujvglfb/eGJBOeq lVIViJL57mdp7iqxdlncuz5vU0QAOf/2e6W3mJaYJlW6lcCA9408XUdqpdqVVuPz 1QfSOHopfVTppUWA== Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id a7405f44 (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO); Wed, 26 Sep 2018 17:28:15 +0000 (UTC) Received: by mail-ot1-f44.google.com with SMTP id e18-v6so29039407oti.8; Wed, 26 Sep 2018 10:46:49 -0700 (PDT) X-Gm-Message-State: ABuFfogR81vYZRWphaBQYd61SgXdhX5gl+VVYUZZx3VQIwgRKlNpEChY d44i5HShdfZMmP5h14NfQyUlah97OPNjeiTNYyg= X-Received: by 2002:a9d:56bb:: with SMTP id o56-v6mr4688597oth.393.1537984008102; Wed, 26 Sep 2018 10:46:48 -0700 (PDT) MIME-Version: 1.0 References: <20180925145622.29959-1-Jason@zx2c4.com> <20180925145622.29959-8-Jason@zx2c4.com> <20180926173720.GA248906@gmail.com> In-Reply-To: <20180926173720.GA248906@gmail.com> From: "Jason A. Donenfeld" Date: Wed, 26 Sep 2018 19:46:36 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH net-next v6 07/23] zinc: ChaCha20 ARM and ARM64 implementations To: Eric Biggers Cc: Ard Biesheuvel , Herbert Xu , Thomas Gleixner , LKML , Netdev , Linux Crypto Mailing List , David Miller , Greg Kroah-Hartman , Samuel Neves , Andrew Lutomirski , Jean-Philippe Aumasson , Russell King - ARM Linux , linux-arm-kernel@lists.infradead.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 Wed, Sep 26, 2018 at 7:37 PM Eric Biggers wrote: > Can you please stop accusing Ard of "filibustering" your patchset? Spending too > long in non-preemptible code is a real problem even on non-RT systems. > syzkaller has been reporting bugs where the kernel spins too long without any > preemption points, both in crypto-related code and elsewhere in the kernel. So > we've had to add explicit preemption points to address those, as otherwise users > can lock up all CPUs for tens of seconds. The issue being discussed here is > basically the same except here preemption is being explicitly disabled via > kernel_neon_begin(), so it becomes a problem even on non-CONFIG_PREEMPT kernels. The async distraction (re:filibustering) and the preempt concern are two totally different things. I've already posted some code elsewhere in this thread that addresses the preempt issue that looked good to Ard. This will be part of v7.