Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp4257843pxb; Sat, 5 Feb 2022 08:03:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJwQ4h90zAQdaGJl/TgJ3kAWRmUt0VGpycXvL8WpyjT7adX/hrM9nkyUVFXEGgPDWzA3gqed X-Received: by 2002:a17:907:3d8f:: with SMTP id he15mr3585986ejc.623.1644077005733; Sat, 05 Feb 2022 08:03:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644077005; cv=none; d=google.com; s=arc-20160816; b=MXjzhEF3alIIEFB+jn5v1+/VjkbOK6Fw7wmQ3A9zWXXFAP72/r34GwSHDPz6KxLC7I t4nwMiYhCE5KOcUcjClg56VL7fkjVeJFh2UydB6TdJGexxZJCtmYLzIHVqTpiM3aJMOI QqCmjsL4sE6udW8cjh/TFPX/6W1x7km55ZWEg8KGhqEk2OMUHZDrtO6HpJQdxjSQBg6E 0+uRJ9gPqHEF54yNuXgyBb4d9/Ta3b9yCVBD1JnJ9As4oBOw0S2eiYRc5BW74uLQ1Kf2 Axp+IgSXPFWQA7rwlypzEZPYea2osZDJN7CI9rz06f6/6F4xJ138+zQiwIeudPwGQwkz /J2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=HF0rRa5EnwKT/qOmnqaK6ElRG/TXMX7590t2kkXeFmM=; b=z+kHqlK+R9TY5qaYIAzMBSkyzfinOHhrivc/CIdRg2wNMmeviyCFU8i9tv5Ps2pI6+ ++RA9+G4kmX6JF5ontDEsFytAI7FtQrNXTq0xrZ+WoJM3CA9kzCwx6DkSklB6a1i7Kt8 lh+h58z9RgA3ljMNgA98GJERLhLRHybwPH1lgnghNQv0MsFQOvFw4pdhuHnRxVpH5G/j oSl0YI5R3evLjhWuP3OQPfMVeJ78rQbHs6ej0uVJOHfeqJhYqNMx7N8KOmgMe19YWTd3 hVihE3GqbXynnUF8eVtGp9cFoxeTunHQ4tkghqxDS5ri9c7cKguxpHPHI/aV5bWf9Rtf U6EQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=MaIc+ctV; 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=NONE sp=NONE dis=NONE) header.from=zx2c4.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hd16si3850838ejc.263.2022.02.05.08.03.00; Sat, 05 Feb 2022 08:03:25 -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=@zx2c4.com header.s=20210105 header.b=MaIc+ctV; 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=NONE sp=NONE dis=NONE) header.from=zx2c4.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356235AbiBDA2R (ORCPT + 99 others); Thu, 3 Feb 2022 19:28:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356249AbiBDA2O (ORCPT ); Thu, 3 Feb 2022 19:28:14 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33D75C061401 for ; Thu, 3 Feb 2022 16:28:14 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 21FD16194D for ; Fri, 4 Feb 2022 00:28:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 53139C340ED for ; Fri, 4 Feb 2022 00:28:12 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="MaIc+ctV" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1643934488; h=from:from:reply-to:subject:subject: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=HF0rRa5EnwKT/qOmnqaK6ElRG/TXMX7590t2kkXeFmM=; b=MaIc+ctVA54pjoI02uXtw2uPEmauyVuMgFWoSu/CIZiWABkT1X9zX7JXkL8BTbgf4h3iI0 4gXqJp52x0OnGmNP4COdQGLzXm4oonAvcAahiLfIHwVhwu74ra5qnr8/ITjOtaiT8+oigZ 0Az48+y2wkHBMb+b7575j/KBBj9mnNw= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 2611bb48 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Fri, 4 Feb 2022 00:28:08 +0000 (UTC) Received: by mail-yb1-f176.google.com with SMTP id j2so14281181ybu.0 for ; Thu, 03 Feb 2022 16:28:08 -0800 (PST) X-Gm-Message-State: AOAM533b0MUf+k6yNcgubUr5Bso7ZAWRy3e4X2HPc+vTp2eBICfD36/4 qN6XRz5cU8A67ilMbivLcap9GUP0A8/6NnlV9Hc= X-Received: by 2002:a05:6902:14d:: with SMTP id p13mr693243ybh.638.1643934486228; Thu, 03 Feb 2022 16:28:06 -0800 (PST) MIME-Version: 1.0 References: <20220128223548.97807-1-Jason@zx2c4.com> In-Reply-To: <20220128223548.97807-1-Jason@zx2c4.com> From: "Jason A. Donenfeld" Date: Fri, 4 Feb 2022 01:27:55 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] random: remove batched entropy locking To: Andy Lutomirski Cc: Boqun Feng , Will Deacon , Peter Zijlstra , Ingo Molnar , Sebastian Andrzej Siewior , Waiman Long , Sultan Alsawaf , "Theodore Ts'o" , Andy Lutomirski , =?UTF-8?Q?Jonathan_Neusch=C3=A4fer?= , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hey Andy, Think I could bug you to review this patch? The general idea is based on your original patch, and I think this fits what we talked about on IRC. I figure we'll probably both page this out of our minds after another week or two of not thinking about it. It's here on cgit if that's easier to look at: https://git.kernel.org/pub/scm/linux/kernel/git/crng/random.git/commit/?h=jd/no-batch-lock Thanks, Jason