From patchwork Mon Jul 29 18:38:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Hildenbrand X-Patchwork-Id: 13745581 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 8548BC3DA4A for ; Mon, 29 Jul 2024 18:39:13 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 0D3236B0092; Mon, 29 Jul 2024 14:39:13 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 083D76B0093; Mon, 29 Jul 2024 14:39:13 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E8CF16B0095; Mon, 29 Jul 2024 14:39:12 -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 CCA5A6B0092 for ; Mon, 29 Jul 2024 14:39:12 -0400 (EDT) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 466A514058A for ; Mon, 29 Jul 2024 18:39:12 +0000 (UTC) X-FDA: 82393652544.15.C78852A Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf02.hostedemail.com (Postfix) with ESMTP id A688E80023 for ; Mon, 29 Jul 2024 18:39:09 +0000 (UTC) Authentication-Results: imf02.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=KJafPP11; spf=pass (imf02.hostedemail.com: domain of david@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=david@redhat.com; dmarc=pass (policy=none) header.from=redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1722278295; 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=5PYsSiOWBQFI5JFl6WQemJ8OEXFzybl56PwzMET4SDg=; b=gMmBen2ozokrbE+xO17o8HwOMlncmSOCQSaqbQ/fcI7VN9rsIwFqnaEdJUEJI24Agez9g+ yGHwcFscBfM3H3VGdiGuvGb3+5UMyvoLdbLOTO6z87B2GE7hsdvjxDoKvR6H0I9A1yrNT4 4fWSEt28SC69wgpv+YST8fqva6b+eVs= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1722278295; a=rsa-sha256; cv=none; b=Q1BLvoZG7WADrgwfRtKjT4qqVzyBoWARqK1PqknzpF6NUzGs2EDdgEO09S/U2VYfAfpm3Z Zf4QeEI46+pR7Run6VpvsKXPUarC4jI+9yMYdnSc9jhTIAOPPVbNzc/7gwlGVguqmT7NYX 5ro5Wv5Nye/8CUJl0spGc7PErn6cayI= ARC-Authentication-Results: i=1; imf02.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=KJafPP11; spf=pass (imf02.hostedemail.com: domain of david@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=david@redhat.com; dmarc=pass (policy=none) header.from=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1722278349; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=5PYsSiOWBQFI5JFl6WQemJ8OEXFzybl56PwzMET4SDg=; b=KJafPP11L1ajUrDoRsogvAvj9w5SrIU/MnAq744070ccuiv2zf4DW032+5cJzVRy5GfAqE lVufHz+sDAHo4vF2aqCgm6B4oJSYXCFNR0Cbhw9CDJTr8H5kk/tYhC5tJHyJwXfKZrt9XA RRQtN95Qz03LsTd4DWIuOvv8+YAzJA8= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-580-fS78pyLtPMqfopk0SJeTEQ-1; Mon, 29 Jul 2024 14:39:01 -0400 X-MC-Unique: fS78pyLtPMqfopk0SJeTEQ-1 Received: from mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id D43CD1955D56; Mon, 29 Jul 2024 18:38:58 +0000 (UTC) Received: from t14s.fritz.box (unknown [10.39.192.25]) by mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id A1ED91955D42; Mon, 29 Jul 2024 18:38:50 +0000 (UTC) From: David Hildenbrand To: linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org, linux-s390@vger.kernel.org, kvm@vger.kernel.org, David Hildenbrand , Andrew Morton , Matthew Wilcox , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Janosch Frank , Claudio Imbrenda Subject: [PATCH v1 0/3] mm: remove arch_make_page_accessible() Date: Mon, 29 Jul 2024 20:38:41 +0200 Message-ID: <20240729183844.388481-1-david@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.15 X-Stat-Signature: k51cjdi5nqwk6horp864kjrpf7h6abjy X-Rspamd-Queue-Id: A688E80023 X-Rspam-User: X-Rspamd-Server: rspam08 X-HE-Tag: 1722278349-744863 X-HE-Meta: U2FsdGVkX19reTq4h8q0OorWL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Emd/D91m77oe6nm9fL6+wJQbGlRDTkTnapYwdxhNlFuRDiMJqNLCnMAgPGZzUIjP7ip/ci3a3RSVlZu5C08B9kqrE8P4DVJU31tu1d/TWyHZK8ppETSkm/z/a85qWlwdQM9UQMcx3YAM3G5H6APG5LktuEIL2dCZuY/01JDutXuxIyUUZaMjt3jeV4EQfCYo/4SJCJNQCShme5HyCuzqnE4f8s0Jq1gaXYFuLOMDUEf08bpuq3j5v2qu4UsImkV0bPgLnwb9L5UqX0AfutuMP3JiD0aHYKFuO+KRG9IVSubS5TTBzQ4gOdt+51DOZAjS93d10rj4/KR4l36vJoKwunEd2mndKr7Wp0aSqkGKg== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000001, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Now that s390x implements arch_make_folio_accessible(), let's convert remaining users to use arch_make_folio_accessible() instead so we can remove arch_make_page_accessible(). Cc: Andrew Morton Cc: Matthew Wilcox Cc: Heiko Carstens Cc: Vasily Gorbik Cc: Alexander Gordeev Cc: Christian Borntraeger Cc: Sven Schnelle Cc: Janosch Frank Cc: Claudio Imbrenda David Hildenbrand (3): mm: simplify arch_make_folio_accessible() mm/gup: convert to arch_make_folio_accessible() s390/uv: drop arch_make_page_accessible() arch/s390/include/asm/page.h | 2 -- arch/s390/kernel/uv.c | 5 ----- include/linux/mm.h | 18 +----------------- mm/gup.c | 8 +++++--- 4 files changed, 6 insertions(+), 27 deletions(-) base-commit: 3bb434b9ff9bfeacf7f4aef6ae036146ae3c40cc Reviewed-by: Matthew Wilcox (Oracle) Reviewed-by: Claudio Imbrenda Reviewed-by: Vishal Moola (Oracle)