From patchwork Wed Apr 24 19:19:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Wilcox X-Patchwork-Id: 13642433 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 C5CBFC10F15 for ; Wed, 24 Apr 2024 19:19:37 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 502006B02E6; Wed, 24 Apr 2024 15:19:31 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 3EA7C6B02E7; Wed, 24 Apr 2024 15:19:31 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 23D208D0028; Wed, 24 Apr 2024 15:19:31 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 0132D6B02E6 for ; Wed, 24 Apr 2024 15:19:30 -0400 (EDT) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id BBE4EC0A8D for ; Wed, 24 Apr 2024 19:19:30 +0000 (UTC) X-FDA: 82045389300.22.E6932EB Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf21.hostedemail.com (Postfix) with ESMTP id 6B19D1C0015 for ; Wed, 24 Apr 2024 19:19:29 +0000 (UTC) Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=HvpWkr4m; dmarc=none; spf=none (imf21.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=1713986369; 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=olLWa2wIDBhWI2NcczgsoQaUZdnUe2szX7eM0Y3uizg=; b=sht5d0B8+qZuveyfjMKr1RzzXzeBfdH/MQKs1N7zw3c5Ff6Ket/NBnjs/6nXOrAQB4Va/L 9rOJZRNTa359yeZUn8oeeDvLuyL14cqT36IEE1trL/yYnPToxY/Rqcnxx0ZkNefQa7uRpm hQHOyyYUA/YgYNenqJggT7y7J6hFkHo= ARC-Authentication-Results: i=1; imf21.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=HvpWkr4m; dmarc=none; spf=none (imf21.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=1713986369; a=rsa-sha256; cv=none; b=X4N+8TdNoO3/x2so6r/I5hrXahtqfInSAJoxjS2MGkbei9ZuhgpQVcGEqFMRvkfVO8Zb1g KjH66yGrHMpOxBfmpcYEgPSqmSgk0pG3egcEVu/ArdB5LOhYBIooZgtGbssWp431rQ0RlH iQkVUud1iPfCXuoxj0e17qKJndK1JNE= 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=olLWa2wIDBhWI2NcczgsoQaUZdnUe2szX7eM0Y3uizg=; b=HvpWkr4mSbgITuBFjpcKO3ret+ K+NsumM2LSuJLViV7KRc7oOEEihlXsvb6vit8aD+hzpfep+7ao35+6Wbq4AequuoQq2sK1cbkjUXh fuvH9kroWfGEL/4zxFFdDGH6/jhMVqq3tBQc7DtOjLV4ecVG5IrNad61lKcxfzldym7nZYK5NMUAl Zm7dS5COm+23vQ31NGPyuRlmUx9+TbfRuqSTSRbPwnjDe2H6x7Lf/qW0coeW1fkuTtzeA8KgIRb7p dcK5rswVIFn5Oy9BQ+fibo6aQI85CmADXpkTIYHRghIq9U5rzziP1/MONVZRp6niJNnx8KFsgN3Rt aXhdp20A==; Received: from willy by casper.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1rzi9D-00000001W3l-3qy0; Wed, 24 Apr 2024 19:19:15 +0000 From: "Matthew Wilcox (Oracle)" To: Andrew Morton Cc: "Matthew Wilcox (Oracle)" , linux-mm@kvack.org Subject: [PATCH 0/7] More folio compat code removal Date: Wed, 24 Apr 2024 20:19:05 +0100 Message-ID: <20240424191914.361554-1-willy@infradead.org> X-Mailer: git-send-email 2.44.0 MIME-Version: 1.0 X-Rspam-User: X-Rspamd-Server: rspam08 X-Rspamd-Queue-Id: 6B19D1C0015 X-Stat-Signature: n3krtusw98ncnja56k6phpjygie36d6q X-HE-Tag: 1713986369-164818 X-HE-Meta: U2FsdGVkX1+3c0SfSXDrQTAwR16Dh7p7VMs0sQzqSAmvV7hWgjPPs5ycZ6aDFtUFd8rtoO0DkauAK5GUeRctbhDeIihEoF30Pm3M6F5A8nvSbwCylWEVRyg40V3Qeq7hf+GBFodkLAvBT35Nn2i62fBLJw/Ynbj3KHo8GuBFGaMfNK4k1VmdMDrHWsAEGRpr62pzCZ+f2m3sAUC9NPGHmOsAH7dUfdNeCcBv90424E0KIJp+SADVmvUGSs7Lr9wTUxJc9y19NFTfIdlEKWDr20yjR0oSil9nqGHjW3ljegskUwh299v9wR25suHBWQTRQxIBJteSPQMld3UZnwBYGdOpDTgXETJ6Gj242+RM/F4JeeKG/vabjBuaBzeROsC2uG21yyRBCNQWt7/fWfANtRt3PdQW0rkNU9nxNLuNchfelWTEirYdMAWG6R0jSN0SbKH+K+qWiiaNlVYIrZ/KkWOfIT+CwdNOnDlGc+TO3pxNRalCKjhLy50A1mbwz4qUczvkp2IRLc59yl2EzWPf1yhQR4KSjg2g6TAA/m6jndx6Y0vjHgPakuFdCTDhf6UR9AS2RlmcAbybD0NeKlI2/Qh7W6GtlZ1taEfMk7tOBjfMgZHL14Z/W91Btlw382oqLcnFJ0PLonsRPHGzCnaglH6AytMfBCXIqOVUgl8N17QmI8EOcu0fHpwYqZ2abGY8ya+hEqvIVwP/NNu1JoEHWhQOQk/XoSV4WKxKBIVV9hSfzIqA6kHHExpQN9J0jAlrAgtUgnjNi6pXwV2cJFlqhPx9EvLSmi2+3+LTirRauYguVAQVH72pVwQ4eLz2v+87vWSBRtnjEQqn5C1gSQwdTb4sQcUVqgpdGrc/g6UcaZ4ucCwvlSrKXw== 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: List-Subscribe: List-Unsubscribe: More code removal with bonus kernel-doc addition. Matthew Wilcox (Oracle) (7): mm: Remove page_cache_alloc() mm: Remove put_devmap_managed_page() mm: Convert put_devmap_managed_page_refs() to put_devmap_managed_folio_refs() mm: Remove page_ref_sub_return() gup: Use folios for gup_devmap mm: Add kernel-doc for folio_mark_accessed() mm: Remove PageReferenced include/linux/mm.h | 17 ++++++----------- include/linux/page-flags.h | 6 +++--- include/linux/page_ref.h | 11 +++-------- include/linux/pagemap.h | 5 ----- mm/gup.c | 23 +++++++++++------------ mm/memremap.c | 10 +++++----- mm/swap.c | 19 +++++++++++-------- 7 files changed, 39 insertions(+), 52 deletions(-)