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.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (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 CDB36FED2D7 for ; Thu, 12 Mar 2026 06:14:10 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4fWcl44k4Lz3cFN; Thu, 12 Mar 2026 17:14:08 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip=195.135.223.131 ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1773296048; cv=none; b=P2L2V5rohpBS9cdE1EkOtOXfLIMLOsWqhZcZjC0l+KgxloHDFqXnbfHzvp/Rq8jXJJv6PJFg3MNU4+w4DdKuVsiskIJKnmggkrkh+iY8QrN9Z9/IUUgfzmDXYShPCBJnAt0jTkgVgwaMgydiaAlv3gxnMAGPcDpqziXFb7n254NbXVR+RfrfFUr6o6gLcKKd2NflLKCJu3EFR1b8E4s8JgtudJHD9CBBl/GxtJqTXwX/CQq+z2OC1/QUu2uKLqrsDZmGo2HUwFlT33IPPT/o9sX0ryOqtcjHX5E2Z2j8EmJkrXOXYNQ+54rsqm23BAf7M+oa38O/p4RpqY+OoBmkyA== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1773296048; c=relaxed/relaxed; bh=fTMk2W3stj8+PWnN98r8nUX6IrcWOaSqaGU5Q2vEZzo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TXoiGx+DqpmC0oLmUHF1RndSqy4XoTO+cZDG4JMGvmO/jttZPa1Ka57Xb1P2ftQYsXVf7ZlpDkmmqMbJ9dldk9Boz7NqqxaMNvahir1DhS2ZL2ZyxYgMe9YeMbocXMKMArygqh7BiZaeZ8CVwgP2FIF6zHCKI8TL/JpGZH9/RigOhlNceTwxDfqRj6kD30Qy8543ycFEd3Pn99XXdQw0qOvPFif9iyAcGPvZLvCT7jmejzmeC+GtFwlNTFmJqrM76u20cXedSpGNRfU0CVY4/rv7hy3fMa098Jh1xwam9r86Por26mPvtiMu+gfvbghb09RrDoHP2MeHxgGTue5upw== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=suse.cz; spf=pass (client-ip=195.135.223.131; helo=smtp-out2.suse.de; envelope-from=dsterba@suse.cz; receiver=lists.ozlabs.org) smtp.mailfrom=suse.cz Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=suse.cz (client-ip=195.135.223.131; helo=smtp-out2.suse.de; envelope-from=dsterba@suse.cz; receiver=lists.ozlabs.org) Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4fWcl31wj9z3cFG for ; Thu, 12 Mar 2026 17:14:06 +1100 (AEDT) Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 4BAE55BF85; Thu, 12 Mar 2026 06:14:03 +0000 (UTC) Authentication-Results: smtp-out2.suse.de; none Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 0C3EF3FE12; Thu, 12 Mar 2026 06:14:03 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id 9PbNAqtZsmmBXAAAD6G6ig (envelope-from ); Thu, 12 Mar 2026 06:14:03 +0000 Date: Thu, 12 Mar 2026 07:14:01 +0100 From: David Sterba To: Christoph Hellwig Cc: Andrew Morton , Richard Henderson , Matt Turner , Magnus Lindholm , Russell King , Catalin Marinas , Will Deacon , Huacai Chen , WANG Xuerui , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , "David S. Miller" , Andreas Larsson , Richard Weinberger , Anton Ivanov , Johannes Berg , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Herbert Xu , Dan Williams , Chris Mason , David Sterba , Arnd Bergmann , Song Liu , Yu Kuai , Li Nan , Theodore Ts'o , "Jason A. Donenfeld" , linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, loongarch@lists.linux.dev, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, sparclinux@vger.kernel.org, linux-um@lists.infradead.org, linux-crypto@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-arch@vger.kernel.org, linux-raid@vger.kernel.org Subject: Re: [PATCH 23/27] btrfs: use xor_gen Message-ID: <20260312061401.GE5735@suse.cz> Reply-To: dsterba@suse.cz References: <20260311070416.972667-1-hch@lst.de> <20260311070416.972667-24-hch@lst.de> X-Mailing-List: linuxppc-dev@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , List-Unsubscribe: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260311070416.972667-24-hch@lst.de> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Server: rspamd2.dmz-prg2.suse.org X-Spamd-Result: default: False [-4.00 / 50.00]; REPLY(-4.00)[] X-Rspamd-Queue-Id: 4BAE55BF85 X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Action: no action On Wed, Mar 11, 2026 at 08:03:55AM +0100, Christoph Hellwig wrote: > Use the new xor_gen helper instead of open coding the loop around > xor_blocks. This helper is very similar to the existing run_xor helper > in btrfs, except that the destination buffer is passed explicitly. > > Signed-off-by: Christoph Hellwig Acked-by: David Sterba