From patchwork Tue May 30 08:07:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yin Fengwei X-Patchwork-Id: 13259402 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 B8AA8C7EE2E for ; Tue, 30 May 2023 08:06:11 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3876F900004; Tue, 30 May 2023 04:06:11 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 33774900002; Tue, 30 May 2023 04:06:11 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2005D900004; Tue, 30 May 2023 04:06:11 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 1015D900002 for ; Tue, 30 May 2023 04:06:11 -0400 (EDT) Received: from smtpin09.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id C7D90120164 for ; Tue, 30 May 2023 08:06:10 +0000 (UTC) X-FDA: 80846188500.09.1622349 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by imf17.hostedemail.com (Postfix) with ESMTP id 74F844001E for ; Tue, 30 May 2023 08:06:08 +0000 (UTC) Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=bVSF2dBO; spf=pass (imf17.hostedemail.com: domain of fengwei.yin@intel.com designates 134.134.136.31 as permitted sender) smtp.mailfrom=fengwei.yin@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1685433969; 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:in-reply-to:references:references:dkim-signature; bh=xZ9PMoE8Q/sCZsquQ1ZlnFoecJQVuWjFfm3eXtkb+rA=; b=29jArr5hQIs3wk8zJ+7yOr6IK5ZdJ1tHGulul22EQ13+Msz1S0BIffrRFp+gRKD2Fzg5tt xEeJAf3NhCZ1KoS/PdSeUFMSungJLscYovfBa7I6TKMWdpKfpgBKuuDQtFzcoeDFkNI7kN jWuA/SMQ5gACgbw6ISY8zS8Vg68cpK8= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1685433969; a=rsa-sha256; cv=none; b=4dIsHuUHhgsoWlNsVK99sLrFOY7wA+tTieDBnElsnnGexduviT2o+IncW+uXvfx021GHr6 QlFsn5iD4IgZ+/Dg4v3uI0JPus2vBIG55moVg+gS0yKUD6oWdcgcaFBzmRkI9RTCwa68pP /Ou7d59H6QQooMZ3aINTCrrYSJOZ1Hc= ARC-Authentication-Results: i=1; imf17.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=bVSF2dBO; spf=pass (imf17.hostedemail.com: domain of fengwei.yin@intel.com designates 134.134.136.31 as permitted sender) smtp.mailfrom=fengwei.yin@intel.com; dmarc=pass (policy=none) header.from=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1685433968; x=1716969968; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=mXFIsJp/JCfN7PxbaXtUvSS1GRxHHE6VakHXbZbCvEs=; b=bVSF2dBOyNihflf1iZutX+zvFjLjER5ORmAl/8ob7MBC2AIEws47Rt20 CjixRXGzQaQdqM/0SbwuV5866mN2TE/6TCGdw/4xocJeCMaA4Kr5aFpCY jghp1dvN4dptSenOS9mPSUXfb2b3VqImAAEVq+HuMMuo7tH7iQdDLDAX2 MNbUz6XOTFL79rjXBpzZPjIE3G4XUqTYuvCwSyb8GxzIKL9E4Xx0CnFNg mv5xpiFbscTqJ+Ryb1kVgo3eWyud47TH8vtQO+1odzvlLZLwwMCmkp5ze ywd8ne9adpVh0umdrSW1HoW/lxCq0xv1isY9HIBNfUx+uSeKgAd0MYxhv w==; X-IronPort-AV: E=McAfee;i="6600,9927,10725"; a="418332050" X-IronPort-AV: E=Sophos;i="6.00,203,1681196400"; d="scan'208";a="418332050" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 May 2023 01:06:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10725"; a="739426310" X-IronPort-AV: E=Sophos;i="6.00,203,1681196400"; d="scan'208";a="739426310" Received: from fyin-dev.sh.intel.com ([10.239.159.32]) by orsmga001.jf.intel.com with ESMTP; 30 May 2023 01:06:04 -0700 From: Yin Fengwei To: willy@infradead.org, ryan.roberts@arm.com, linux-arch@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Cc: fengwei.yin@intel.com Subject: [PATCH 0/4] New page table range API fixup patches Date: Tue, 30 May 2023 16:07:27 +0800 Message-Id: <20230530080731.1462122-1-fengwei.yin@intel.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 X-Rspamd-Queue-Id: 74F844001E X-Rspam-User: X-Stat-Signature: 6w4oeoqnt53i86nfckp8oug1wh9jrafz X-Rspamd-Server: rspam03 X-HE-Tag: 1685433968-680241 X-HE-Meta: U2FsdGVkX19NgvZg8Bh0kz7gDsew+DikiY1dq+keSFPcyAxfAdNUbMWu84GKvlbhsloz7RzI1Id/3TOskboH2XrT8OE6zb/r5aywXcmNvwXONZrOftj8W7EIU35fC/eLJNm0lA2zxteRe5EbDf9El5K+7bNp7quBA2OWx9PXl1pNFaQTUlQ16dFPXLvV6wJtWYFXjlFHCKLnivfjDK/YiC2Bep+avvhGlVnj7QZtYSDf6y3DGCRh1/GH6d9O9GxReD8hDCmbUl3Rvc1rflWSrI1mP2utKAXS+fn53l8wOd4kvD+JxNyKUzjZtXj8/vi7i/a2tNrbYZkA1QTZtJZknnyZOAJJzBKaXXccwQrUiJCUPpZRUrMO3MNM7uaSqpkIO/r+M88Zd4QOdKvMNfzF8lJFtFuqyCp+owme7647uh4Y/DsBYSkSgAFKn7UMef/ZburAzJgYyYAFUaA0A05IhOFam23L8CT6InCCrJQ/sBzeEFQyJBnaDskwrJQNz870570t6h0YGS1iOptCx25CIpprUlim6SkamGIP78quYxc6spnqLPtcnn6b3ukLARXxmYrO5Mj5lJ/iLEnIRQYHCvtOS09w4ZW7Zscjgi0VNgoU+xdvpgH1ezJmgbQHNYtAoWVArpukn3GkYLiO1orCH3Lc3M2QRt5WCiPC5cUzrt3r0mvMT96+zepnx0HUA715YDTyAVPwIA1ldHsOGM2kn+FIjeB+oujOG24p2u1RBBMkU2mj8k8qR0DwnvCIQjJ8ABZwN2h2DWFk4ARfduNP5d+GRNQs7dwj1DgRgYKtghG4Ysa9CbMINlmkC/iYUMy2OblSHfcvqEovpC71i2sRkCD5scq2UqmMIuRj3LDbBlWJWoWQb8QY6EdEqBlRrAQ1x09ra9Z+hpqv7kRJm+CV/WYKglOv0FPnHRv0H5WMvq0QszGvKdgqqpDNoXBxkB1+scqqzvVx9NsGhsQ254q 0N6uoWUc QttjxP0u0g0bWrAiGkE87n2v3Y5QGISbR8Y+A4tF3F3O34MMq91cwxAtKM0kewF/p6wr15ZvDILezDRP/PN6vi3Q2AyXoBwiZZtL2nFxJmVNG2Djiq0agL8J3aJnIburjLBLmInQTITba8nM2P1xGSGsP7Q== 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: These are fixup patches for Matthew's New page table range API patchset. Thanks Matthew and Ryan a lot for helping on these fixup patches. I sent the patches to Matthew and Ryan in private mail. Later, realized that private mail should be avoid. Yin Fengwei (4): filemap: avoid interfere with xas.xa_index rmap: fix typo in folio_add_file_rmap_range() mm: mark PTEs referencing the accessed folio young filemap: Check address range in filemap_map_folio_range() mm/filemap.c | 39 ++++++++++++--------------------------- mm/memory.c | 2 +- mm/rmap.c | 2 +- 3 files changed, 14 insertions(+), 29 deletions(-)