[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <161068333184.18181.4234969905192129364.b4-ty@oracle.com>
Date: Thu, 14 Jan 2021 23:08:22 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Pavel Begunkov <asml.silence@...il.com>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
linux-scsi@...r.kernel.org, target-devel@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] target/file: don't zero iter before iov_iter_bvec
On Sat, 9 Jan 2021 15:53:27 +0000, Pavel Begunkov wrote:
> iov_iter_bvec() initialises iterators well, no need to pre-zero it
> beforehand as done in fd_execute_rw_aio(). Compilers can't optimise it
> out and generate extra code for that (confirmed with assembly).
Applied to 5.12/scsi-queue, thanks!
[1/1] target/file: don't zero iter before iov_iter_bvec
https://git.kernel.org/mkp/scsi/c/6b1dba3d8c85
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists