Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3371762pxb; Mon, 17 Jan 2022 18:54:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJyh9b/qRVtGkJ3LnCDdWLAhlSZA2paywZP/qVZisEW7c1E7GrNN0DbK2YRI/GTqH6VlSKva X-Received: by 2002:a17:903:41c4:b0:14a:4baa:4261 with SMTP id u4-20020a17090341c400b0014a4baa4261mr25458909ple.174.1642474459486; Mon, 17 Jan 2022 18:54:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642474459; cv=none; d=google.com; s=arc-20160816; b=WSM3IsJIzRLQvcp2kNQfWDR1+BDrBzEG1g93NJHqFhElU4gA2xPNoQmiXDCjoTkKyE uOvUtj2cA2TWB6E+mTFAADwbAp8gfTMiUDN6uhwSxWyjyq5HSyw3Naox24rZjfYzMjsI 9IZLGPAY8zCZgxSzW9kbrsfPQqCgpQtuus2L2S9NnawYS4onBWwMxaZWuZWNyhFQ7kSn Xre5iUSOMwhaDQTlT2puwe9zYHnlbR6OA/Vtsr4I+lRqY9wwn5R5MqZfvS5ydR7PMKrK qJpAeWl+dak398xEmMY3m0RlGhlWarai07pmy+jliBgA31PwGVrHlNBT3nn/WZkziRmO lt1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=petTRgzNnvAidnE2LApdYo3DKKyTazVutP41bEwjVlo=; b=PtAE2h/mFcW/3ssOSDY+yAbtDMhhSxl7Y4vHf7RnLriOIzVjTpC5p0miSRrgtXcNJH /O5JOLAuCAqkvnsn9rJF8pMrb+qJwMgwO2tEF38IpcaSEuh6gEU5J+tLrxxDc5eh7+kt eKFCLpf+KJzLGU8whbcmIyk0vyM2eZumYdVBE86NRoo1sxLj/1P///RsQg/uFLntVRiw jTuARNhf78Xa4/vsaAaPi6GVMyiLDLL0iJxFjsrDbtIKyqYhJgYOEbRuAaZEqgn6F23k y4FX7UZbvMhlMF2TGOpzm3SXUbGL5N1OfI62WHFDjniDsgmSmIuQN+TBwKWkUmX7BoHe uZ8Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id me5si1620333pjb.32.2022.01.17.18.54.07; Mon, 17 Jan 2022 18:54:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241799AbiAQRfG (ORCPT + 99 others); Mon, 17 Jan 2022 12:35:06 -0500 Received: from isilmar-4.linta.de ([136.243.71.142]:47102 "EHLO isilmar-4.linta.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239452AbiAQRfB (ORCPT ); Mon, 17 Jan 2022 12:35:01 -0500 X-isilmar-external: YES X-isilmar-external: YES Received: from owl.dominikbrodowski.net (owl.brodo.linta [10.2.0.111]) by isilmar-4.linta.de (Postfix) with ESMTPSA id E37C02006CA; Mon, 17 Jan 2022 17:34:58 +0000 (UTC) Received: by owl.dominikbrodowski.net (Postfix, from userid 1000) id 31FBA80756; Mon, 17 Jan 2022 18:32:15 +0100 (CET) Date: Mon, 17 Jan 2022 18:32:15 +0100 From: Dominik Brodowski To: "Jason A. Donenfeld" Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/4] random: access input_pool_data directly rather than through pointer Message-ID: References: <20220113154413.29513-1-Jason@zx2c4.com> <20220116163547.154991-1-Jason@zx2c4.com> <20220116163547.154991-3-Jason@zx2c4.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220116163547.154991-3-Jason@zx2c4.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Sun, Jan 16, 2022 at 05:35:46PM +0100 schrieb Jason A. Donenfeld: > This gets rid of another abstraction we no longer need. It would be nice > if we could instead make pool an array rather than a pointer, but the > latent entropy plugin won't be able to do its magic in that case. So > instead we put all accesses to the input pool's actual data through the > input_pool_data array directly. > > Signed-off-by: Jason A. Donenfeld Reviewed-by: Dominik Brodowski Thanks, Dominik