From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by mail19.linbit.com (LINBIT Mail Daemon) with ESMTP id 49556421799 for ; Tue, 1 Mar 2022 13:19:29 +0100 (CET) Date: Tue, 1 Mar 2022 13:19:26 +0100 From: Christoph Hellwig To: Ira Weiny Message-ID: <20220301121926.GA3405@lst.de> References: <20220222155156.597597-1-hch@lst.de> <20220222155156.597597-4-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: Jens Axboe , Chris Zankel , Justin Sanders , Minchan Kim , Vishal Verma , linux-xtensa@linux-xtensa.org, Dan Williams , Philipp Reisner , Denis Efremov , Coly Li , linux-block@vger.kernel.org, Max Filippov , linux-bcache@vger.kernel.org, nvdimm@lists.linux.dev, Lars Ellenberg , Christoph Hellwig , Nitin Gupta , drbd-dev@lists.linbit.com Subject: Re: [Drbd-dev] [PATCH 03/10] zram: use memcpy_to_bvec in zram_bvec_read List-Id: "*Coordination* of development, patches, contributions -- *Questions* \(even to developers\) go to drbd-user, please." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, Feb 28, 2022 at 05:10:09PM -0800, Ira Weiny wrote: > On Tue, Feb 22, 2022 at 04:51:49PM +0100, Christoph Hellwig wrote: > > Use the proper helper instead of open coding the copy. > > > > Signed-off-by: Christoph Hellwig > > Looks fine but I don't see a reason to keep the other operation atomic. Could > the src map also use kmap_local_page()? That switch obviously makes sense, but in this series I've focussed on the bio_vec maps so far.