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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7FE89C48BEB for ; Thu, 15 Feb 2024 11:37:33 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4TbCj80tqmz3vb6 for ; Thu, 15 Feb 2024 22:37:32 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=arm.com (client-ip=217.140.110.172; helo=foss.arm.com; envelope-from=mark.rutland@arm.com; receiver=lists.ozlabs.org) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lists.ozlabs.org (Postfix) with ESMTP id 4TbChc6nVJz2yVL for ; Thu, 15 Feb 2024 22:37:02 +1100 (AEDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E7C991FB; Thu, 15 Feb 2024 03:37:10 -0800 (PST) Received: from FVFF77S0Q05N (unknown [10.57.68.11]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6408F3F7B4; Thu, 15 Feb 2024 03:36:26 -0800 (PST) Date: Thu, 15 Feb 2024 11:36:23 +0000 From: Mark Rutland To: Ryan Roberts Subject: Re: [PATCH v6 00/18] Transparent Contiguous PTEs for User Mappings Message-ID: References: <20240215103205.2607016-1-ryan.roberts@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240215103205.2607016-1-ryan.roberts@arm.com> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kefeng Wang , x86@kernel.org, David Hildenbrand , Catalin Marinas , Yang Shi , Dave Hansen , linux-mm@kvack.org, Andrey Ryabinin , "H. Peter Anvin" , Will Deacon , Ard Biesheuvel , Marc Zyngier , Alistair Popple , Barry Song <21cnbao@gmail.com>, Matthew Wilcox , Ingo Molnar , Zi Yan , John Hubbard , Borislav Petkov , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, James Morse , Andrew Morton , linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Thu, Feb 15, 2024 at 10:31:47AM +0000, Ryan Roberts wrote: > Hi All, > > This is a series to opportunistically and transparently use contpte mappings > (set the contiguous bit in ptes) for user memory when those mappings meet the > requirements. The change benefits arm64, but there is some (very) minor > refactoring for x86 to enable its integration with core-mm. I've looked over each of the arm64-specific patches, and those all seem good to me. I've thrown my local Syzkaller instance at the series, and I'll shout if that hits anything that's not clearly a latent issue prior to this series. The other bits also look good to me, so FWIW, for the series as a whole: Acked-by: Mark Rutland Mark. 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9C681C48BEB for ; Thu, 15 Feb 2024 11:36:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=oAKWCy4WjWS6wkn40mUa9cZNIRqGJ01VGb+PeqZPt4s=; b=GBEOqiiwoBHk+w 18ROhgnTou3wNE+dyK1UYR5GjvSseuhPMwh3FECqkVKcy8kCDjEGfoxgAq4uqIxXRJl3UlM0kzjby UPp4mqsocSZNdWl548ix+u5/Se3/ul/7Rx3uiBosNa8fCROqlbYyNjuJ9XL9Q8Zd3UvI1T8Z/v/8a arUO0Oqw4hg0lZfCdKMqayLfL0kbKVb5ii+6LotY8M1t0xR+zvPRI3+mBZIn4kl3OVkMFt16KhMAq k8hoCRWAhmw8c9cRuN/pdcs2SCph42uskTiCX5nrO4ZLr3i2xhIR9gr/RirSjX+2TbztVwT8M9egL h2c8P9bx3q/m/+gsZPhA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1raa2d-0000000G4aZ-06pF; Thu, 15 Feb 2024 11:36:35 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1raa2a-0000000G4Yz-2SNw for linux-arm-kernel@lists.infradead.org; Thu, 15 Feb 2024 11:36:33 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E7C991FB; Thu, 15 Feb 2024 03:37:10 -0800 (PST) Received: from FVFF77S0Q05N (unknown [10.57.68.11]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6408F3F7B4; Thu, 15 Feb 2024 03:36:26 -0800 (PST) Date: Thu, 15 Feb 2024 11:36:23 +0000 From: Mark Rutland To: Ryan Roberts Cc: Catalin Marinas , Will Deacon , Ard Biesheuvel , Marc Zyngier , James Morse , Andrey Ryabinin , Andrew Morton , Matthew Wilcox , David Hildenbrand , Kefeng Wang , John Hubbard , Zi Yan , Barry Song <21cnbao@gmail.com>, Alistair Popple , Yang Shi , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , linux-arm-kernel@lists.infradead.org, x86@kernel.org, linuxppc-dev@lists.ozlabs.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 00/18] Transparent Contiguous PTEs for User Mappings Message-ID: References: <20240215103205.2607016-1-ryan.roberts@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240215103205.2607016-1-ryan.roberts@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240215_033632_692523_5936E805 X-CRM114-Status: GOOD ( 13.01 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Feb 15, 2024 at 10:31:47AM +0000, Ryan Roberts wrote: > Hi All, > > This is a series to opportunistically and transparently use contpte mappings > (set the contiguous bit in ptes) for user memory when those mappings meet the > requirements. The change benefits arm64, but there is some (very) minor > refactoring for x86 to enable its integration with core-mm. I've looked over each of the arm64-specific patches, and those all seem good to me. I've thrown my local Syzkaller instance at the series, and I'll shout if that hits anything that's not clearly a latent issue prior to this series. The other bits also look good to me, so FWIW, for the series as a whole: Acked-by: Mark Rutland Mark. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5B9FC4829E for ; Thu, 15 Feb 2024 11:36:33 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 57ECB8D000E; Thu, 15 Feb 2024 06:36:33 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 52F5E8D0001; Thu, 15 Feb 2024 06:36:33 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 41DDB8D000E; Thu, 15 Feb 2024 06:36:33 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 33C258D0001 for ; Thu, 15 Feb 2024 06:36:33 -0500 (EST) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id D89F416102B for ; Thu, 15 Feb 2024 11:36:32 +0000 (UTC) X-FDA: 81793835424.05.DDA4E72 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by imf29.hostedemail.com (Postfix) with ESMTP id 15C08120022 for ; Thu, 15 Feb 2024 11:36:30 +0000 (UTC) Authentication-Results: imf29.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=arm.com; spf=pass (imf29.hostedemail.com: domain of mark.rutland@arm.com designates 217.140.110.172 as permitted sender) smtp.mailfrom=mark.rutland@arm.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1707996991; 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-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3pvfy3uIEZ6PQ67i2BgHZnNNyBAMHpp1f5+8kiaOBMs=; b=wSh9y8IWHWDFkvVKFvsgOcA2KE9yLiBwxpuUZGR/5azcODq6NSco5Ow2sFm4Kzwpgq1mqt aOVRywSZ22YQfmOeq7CUKcxbTeIhgZ89Po65crkTP0YEIZPmkLa3nFQChLIXZgyao2ei5O A0QL7l2Qmcl/k3Y5d5Z1UPfEFZ4wcDQ= ARC-Authentication-Results: i=1; imf29.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=arm.com; spf=pass (imf29.hostedemail.com: domain of mark.rutland@arm.com designates 217.140.110.172 as permitted sender) smtp.mailfrom=mark.rutland@arm.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1707996991; a=rsa-sha256; cv=none; b=VZMe6X5b2MkjvsLVvOQMV4e9dY8L0Fy9g6cqepnBTJL4Do2EZ8sOe+YLTunEymjdX7Zy0C 3EUtGInOQQlEwOMNhoZUB/bq7P5C1JRXwT8bv722fw67bIuhaJkhB7BdtUA+7ftU31rhUU Rj295ig41c9s46GdmOA0PC1GnUj5T9E= Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E7C991FB; Thu, 15 Feb 2024 03:37:10 -0800 (PST) Received: from FVFF77S0Q05N (unknown [10.57.68.11]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6408F3F7B4; Thu, 15 Feb 2024 03:36:26 -0800 (PST) Date: Thu, 15 Feb 2024 11:36:23 +0000 From: Mark Rutland To: Ryan Roberts Cc: Catalin Marinas , Will Deacon , Ard Biesheuvel , Marc Zyngier , James Morse , Andrey Ryabinin , Andrew Morton , Matthew Wilcox , David Hildenbrand , Kefeng Wang , John Hubbard , Zi Yan , Barry Song <21cnbao@gmail.com>, Alistair Popple , Yang Shi , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , linux-arm-kernel@lists.infradead.org, x86@kernel.org, linuxppc-dev@lists.ozlabs.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 00/18] Transparent Contiguous PTEs for User Mappings Message-ID: References: <20240215103205.2607016-1-ryan.roberts@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240215103205.2607016-1-ryan.roberts@arm.com> X-Rspamd-Queue-Id: 15C08120022 X-Rspam-User: X-Rspamd-Server: rspam04 X-Stat-Signature: a3ttbk1wodqnx5spfd9nbh9hksq9173g X-HE-Tag: 1707996990-1795 X-HE-Meta: U2FsdGVkX1/fmMUebj0DWUwHpGHPCC5BdMiRFyNszz7eFfb9uf3W9QCtiW8jI9IgATHuMp+af81+CiegooXK/XOtzHf3iqJL/7zSlWYfyvBMLRUq7lDmcalcXY4Pi5k9msxzI807wIP8d4qJNTzlcjsyu03Fq3owKzFHrJuLEW+7aGlXaU3fMBdei2JeHYVWwUnjGF76QaTPE16ITkgoPi1U97+LbPG0t72NRHMaG2o0Lx5MiMCpVxv5vnDS0RYLb+W/8KtCDpT9/MCbOfP29d4SWPo3mgtKTRtyTXjfLbTRnGc7sANDRi8FTOli8KUo+DmiMzdWqevqIHOr0wv0GvK2AyO7RxGuZ05vGE9RUU7UdpoaDLqbeFLJoQTzP9UROqTN6G4LPKpGIQk1xFf45RvwTu7HJ1r6COMjoiPhttO7Pb5HWEH4KrYVYqIFlWJnWQt1CtlYOYmJSNBse/wIXrML3CFuuRlkwUyOHNCTEzRq3+TRbMj2o4317rvYi2nvthUu0yIP2kSasAr7Kid2OtzfJjytS1uT7so4HvPE5slhE00wpVvLVB9K2mo0XWRY27XdA29bJl/PCj0f7cSxepUy0WGLozh5fdRnNTF0XkdCeVr7v5vIkyENZiWbk8KkvXBRjLPzFAkf9PPBvJVQ0nD6GBDxQF50iZg26LvgF4kuVj8UUIzxoCo9NhsZdTVlkuAogZsu7I8MRPzOnYeI/xVAiBTbA3Yn23rbz7EePwQuMjiJg6cWIldz5ci30Bx087grVtmrCn3KSA00au3tKNuTZygapNy5n15lMGWTafs2Qz0EqybKXkPKiv0XJd8no4/Xqa46dDvZ5g56lIUY25d0YydsP1WkWE/OqzQnRSIQJh9gVhzLKKbmdOOLlbHOX6DayMTbeUjTHYPgGW+NuVNTxwo6vk5ZnwEX0cFAGAGDF0x2tC5TvC7ZFaA35VCsnwbBqFC17MqfV8g74lF 054nkyOE XVIw6i3AVdMsYtfvLkA5JCAW8ZtQw27285Z316ibYosTIQxaTJEJAF7dqzWPuUExzUN0w+wE1bicHB57UfTu9LVq6IL8Z8xVyCkyDR7JxVHBLd2vCKji7ACpTmx/uMIqrmEXYopCVF0lcTri2LieOQ3VaJX0/7iASaWFEE6gjHb72gTbJl7nZ/nkM2MT/mtiomO00C5euVdVoH0sDG0ehwmv4lDLaQCqCoJNwO6nnT32Ohsw= 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: On Thu, Feb 15, 2024 at 10:31:47AM +0000, Ryan Roberts wrote: > Hi All, > > This is a series to opportunistically and transparently use contpte mappings > (set the contiguous bit in ptes) for user memory when those mappings meet the > requirements. The change benefits arm64, but there is some (very) minor > refactoring for x86 to enable its integration with core-mm. I've looked over each of the arm64-specific patches, and those all seem good to me. I've thrown my local Syzkaller instance at the series, and I'll shout if that hits anything that's not clearly a latent issue prior to this series. The other bits also look good to me, so FWIW, for the series as a whole: Acked-by: Mark Rutland Mark.