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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A0A23C433F5 for ; Thu, 3 Mar 2022 11:19:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229516AbiCCLUM (ORCPT ); Thu, 3 Mar 2022 06:20:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbiCCLUM (ORCPT ); Thu, 3 Mar 2022 06:20:12 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E0D4169208; Thu, 3 Mar 2022 03:19:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=GgYkIlG3yranRNJR3Y/rvu7hg+GB7NS4kIBFodjdNpE=; b=SNvalMi+z2f6mfymAx12T0DeLv QtJG1xDGz/n/hQCexCbZ+2gBUD23L590KrAzmuB5ydI0D6JwOd7G5DKefIlkvlrDEhHp4EWGNtsNQ 5e92riqhdl5M8/RLX6a9/tJgMnXQLeLz7G+b/NPKPOvBPfJYBmvjarOafMwI5poSZM+bbD/TZETiW RAvbW+YYm1IBhxSJdOOArX2P+DPn0T1t351obF+HFAA6XxGba2VlCsNNhwYLx9pcy2ZN63nc2Akyn 1NIPsaiWgyuPmF2WQ7LNnZIWEW6AaC3GyOuisf82TvvKG4/jppTYszC7BE6/2ihypQ3J5GzacOkFw dkCnkJFQ==; Received: from [91.93.38.115] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nPjUL-006BsV-PU; Thu, 03 Mar 2022 11:19:18 +0000 From: Christoph Hellwig To: Jens Axboe Cc: Chris Zankel , Max Filippov , Justin Sanders , Philipp Reisner , Lars Ellenberg , Denis Efremov , Minchan Kim , Nitin Gupta , Coly Li , Dan Williams , Vishal Verma , Ira Weiny , linux-xtensa@linux-xtensa.org, linux-block@vger.kernel.org, drbd-dev@lists.linbit.com, linux-bcache@vger.kernel.org, nvdimm@lists.linux.dev Subject: remove opencoded kmap of bio_vecs v2 Date: Thu, 3 Mar 2022 14:18:55 +0300 Message-Id: <20220303111905.321089-1-hch@lst.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org Hi all, this series replaces various open coded kmaps of bio_vecs with higher level helpers that use kmap_local_page underneath. It does not touch other kmap calls in these drivers even if those should probably also be switched to use kmap_local eventually. Changes since v1: - fix missing switches to kunmap_local