From patchwork Wed Jun 21 16:45:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Wilcox X-Patchwork-Id: 13287647 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 88701EB64D7 for ; Wed, 21 Jun 2023 16:46:06 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E30828D0003; Wed, 21 Jun 2023 12:46:05 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id DE0948D0002; Wed, 21 Jun 2023 12:46:05 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CCFDA8D0003; Wed, 21 Jun 2023 12:46:05 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id BAE878D0002 for ; Wed, 21 Jun 2023 12:46:05 -0400 (EDT) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 7BADBC0926 for ; Wed, 21 Jun 2023 16:46:05 +0000 (UTC) X-FDA: 80927332290.02.ECD4326 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf19.hostedemail.com (Postfix) with ESMTP id C02841A0005 for ; Wed, 21 Jun 2023 16:46:03 +0000 (UTC) Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=R6XCM2zV; dmarc=none; spf=none (imf19.hostedemail.com: domain of willy@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=willy@infradead.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1687365964; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=gPF8zQQSIHiKU2e2Ly4ej0SDtpoejzkFWwWEYtBtv+s=; b=0qrpFJNf+8vSjJ+1IMOnJNoyjo8iFQSozcrIklmcgwll5ZSXL5N6mUwGGfrozepuYF9BIJ VwNA9/qi/sl6CeA4PdLc7PHmxTIKx1mmqJ0NToZhmw3CEVAlENSAcQujGZlgg7J64/0roy vsPCG1a8F9ps+DPkaUWl6EZLqjNPIPc= ARC-Authentication-Results: i=1; imf19.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=R6XCM2zV; dmarc=none; spf=none (imf19.hostedemail.com: domain of willy@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=willy@infradead.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1687365964; a=rsa-sha256; cv=none; b=P/WcRpGG8Lw5ujhp2/5PPSTpJyYs/Ilr/dTt0LQlJl9z8RlV77cPWTGVLlKnvDuVvoOBJq 27DVzB/fmV3S0tk08zvjzSXnHAzsb69Gn9F8owxNGdKYDMBrnWGQhDRsS3eZNw0cXAu8Ne Fgs0nhknE4cXQ9zsVMXxtZB5InyXYQ0= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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=gPF8zQQSIHiKU2e2Ly4ej0SDtpoejzkFWwWEYtBtv+s=; b=R6XCM2zV5SdOXGzdC4zN24TUJT M4veWjCAPq0VNUMCOXwK50bgiMz71O8YN/hsbWICKjaGBn0L/hOi6O3vzf8WibWLHu9fl3oQnQsny VGKEA7Ik15shC5pM7bj5sOsWEZqfwMVm1w/UApf/gyrXm2EOIwgAe4VVVX5iq6/R6BNzAkxe/vJHh XJoF4JmL38Rj6+7jZjgWTJ1XxMEElaDGBPXE4ET31k0NcLCnoFJ3RJwwdIo3TnQpnX9h+isSLIe6j JkTmNrRbvZfY6wvO0Tfw3qOS6OftxBxHLANWzL3TPle2V4DyHE+CsN5B7LgFifpOLmUjM6a7p9apc NtFA7iFA==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1qC0y1-00EjDe-6y; Wed, 21 Jun 2023 16:46:01 +0000 From: "Matthew Wilcox (Oracle)" To: linux-mm@kvack.org, Andrew Morton Cc: "Matthew Wilcox (Oracle)" , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, intel-gfx@lists.freedesktop.org, linux-afs@lists.infradead.org, linux-nfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH 00/13] Remove pagevecs Date: Wed, 21 Jun 2023 17:45:44 +0100 Message-Id: <20230621164557.3510324-1-willy@infradead.org> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 X-Rspamd-Queue-Id: C02841A0005 X-Rspam-User: X-Rspamd-Server: rspam04 X-Stat-Signature: bi3b8ybntpk865gar5ky6noiimfftn8s X-HE-Tag: 1687365963-721367 X-HE-Meta: U2FsdGVkX19nBxp5mdxy0dRSYBR0WN2zKQCh2XDU0w3U9Jvv/dLCD1SPV4xVue56X9kKUUW6pw4hr1w1bQG/hyBZ/FIuNz/HUbICwkpsLw36tCY35ozAV0fmXlTURUGd9hlnmvVTZ+R0isbyFF5b3McifcQYiHnndf2MRCKluxrcHzLyKmUY8oVjgLZOfVxcDkD+OlgZo/He3yP2j77MVEiU2ZWvPnDp/nOSsPExla9KDLH9Jo0HK3yI4DtM64xBwp4Em1DoqgRfF7oLZEeknBus94lmsCMOixFx/qZMwGC8g96jtduusPllNvG9UDtRsp7w49fDJWYVsFmMAf40cRzGrR02aCDAXrmyeJmR6qYqWuMETCxYO/tHcKUCcM3QavfJ5Oy6wPVJcXR34WxHK7c5QV0z5YoG1CDLwRkCBLN30+bGhD1YcaCK25W/+3Uqa9aBcmCMzHh2ueZDbnCiiNpazoQz5yWZ3pTyh+qahgAxkCN17jpsE/xH2FQO1R9eT+pAHlUDoEE4Y/1nXz+aF223kzXBTcKkuBzRXCxsuE3EKFiVva/CxNbZZuraVi2+Wm1c/JG32bnmn2Hc73aGtZa6QecChvVzjVPNfvkDP0NyDaRIlz+BPhG8dIPruIUHcPIJTrpCYRvX/hNDfX+V2eh0mgIRRBq1WPLnUTIn1q7uGoZ6fYLwkdkc30/nxGv1yZSS9wUlY6pOjdcIwgpfMfxidveXYtl+twnxwRihrQ2lMxloJrVHtD6uqvb8lryD9DNwzJ0CtAwDV9hlP8doNpISLEZUYnalF9v3j2PA2RoH1OdOt6MsCHkYdrBJqdRP5WQ/XTDUe1PIPjQ4xgMd1pZmkFeQ21/eTvZCIPdFQ/Wb/4ozTIN9eW/QwbAeeedeEwe5r5N/0QDj4crU3YiEVElRPUIuM0mS4zt7X1lKObJ6M/v4aAMRiv4GTJ7oQll7hZGOZ6OwCC90Xvc3IZg iF/3WM4O kDtdTiRDi7OwA2B+uHJZB/Xx58BmpA+xuQh6G8bt/wYLG5jn8SJIPWbax8AAzDu1DzVy/9YvI1aJYGdfejVOixa50RTnYMT8gV3tLtD83OOk+ory2GJEONwpI0Q== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: We're almost done with the pagevec -> folio_batch conversion. Finish the job. Matthew Wilcox (Oracle) (13): afs: Convert pagevec to folio_batch in afs_extend_writeback() mm: Add __folio_batch_release() scatterlist: Add sg_set_folio() i915: Convert shmem_sg_free_table() to use a folio_batch drm: Convert drm_gem_put_pages() to use a folio_batch mm: Remove check_move_unevictable_pages() pagevec: Rename fbatch_count() i915: Convert i915_gpu_error to use a folio_batch net: Convert sunrpc from pagevec to folio_batch mm: Remove struct pagevec mm: Rename invalidate_mapping_pagevec to mapping_try_invalidate mm: Remove references to pagevec mm: Remove unnecessary pagevec includes drivers/gpu/drm/drm_gem.c | 68 +++++++++++++---------- drivers/gpu/drm/i915/gem/i915_gem_shmem.c | 55 ++++++++++-------- drivers/gpu/drm/i915/i915_gpu_error.c | 50 ++++++++--------- fs/afs/write.c | 16 +++--- include/linux/pagevec.h | 67 +++------------------- include/linux/scatterlist.h | 24 ++++++++ include/linux/sunrpc/svc.h | 2 +- include/linux/swap.h | 1 - mm/fadvise.c | 17 +++--- mm/huge_memory.c | 2 +- mm/internal.h | 4 +- mm/khugepaged.c | 6 +- mm/ksm.c | 6 +- mm/memory.c | 6 +- mm/memory_hotplug.c | 1 - mm/migrate.c | 1 - mm/migrate_device.c | 2 +- mm/readahead.c | 1 - mm/swap.c | 20 +++---- mm/swap_state.c | 1 - mm/truncate.c | 27 +++++---- mm/vmscan.c | 17 ------ net/sunrpc/svc.c | 10 ++-- 23 files changed, 185 insertions(+), 219 deletions(-)