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 9BE08C47DD9 for ; Wed, 27 Mar 2024 17:35:18 +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=7oZTJY+x4/HM8PFyxDyec1LaP/lPA/O/DBo3Cm5Fw2c=; b=hFKZ3kaODm1GSU +0q1UVsP0lkWTQzJLkGmQunv5y6sji5nCOMlBpWRemQ1ZPRSsx2zQ9kBYHhiHmkZmQ1S9SHNM5DSP b3CXjZwbNDJFzjTXXZRBwTRKCzJpbJJbxZ7vzrMkOHfuZGFAOXFhfAbdnPmiiGMbIwdA/gRFtl4ax 0mUf1XEbtqlRYQ6e3YJ20addplCgk7wxjotQ1UiCoEwt1B2Bg7b0nPrOThsTT3Y7LEhaWVUjWclox UDEXvhY12QBb8WMARYSyhrsvn0tQfVD5Fw+J++L7k5uQdB7e/1aufe3hVM48KE+yOPCGLe/K6ofIJ vO5GYfWGy1U/QTRbtGvA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpXB1-0000000AJoK-0YC2; Wed, 27 Mar 2024 17:35:03 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpXAx-0000000AJno-1g0V for linux-arm-kernel@bombadil.infradead.org; Wed, 27 Mar 2024 17:34:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description; bh=n5qa7PbPTqbuPl6OFCDgWGUXYWdnQWg7EfdXdf9IAyo=; b=DbOHMP1ksHCi8OK0Qzax69OWf2 G/GgLMeplWrxuwrnz7cNkjBBEXZ80gjuLHXES7bgPfWKP/L7/2l8iBt8WhJpkEIIkNhCvSjFCW4n7 LJwQq10wPu4voFWyak8sCyZB0n/QUl6C2GyKcapXCCuOx8XL1wqN8Mq2eC13vvBW0W+5p5Yc2urTB D9CyZOOJCo5PH8hhS4Klws+S9NNuSCy8ZyfocfeHfbZvrBv6yvc5yhIXKIHUczHlr8Cse/3h20EwM v9DU/pUh/amywmvSAVTSLqgVtiWdM/NYdG+yfJswYkMYGJk6xzbFynGLQ1gs93TP9RR99JCVY0tF9 OZez++qA==; Received: from willy by casper.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1rpXAr-00000004MOD-20TD; Wed, 27 Mar 2024 17:34:53 +0000 Date: Wed, 27 Mar 2024 17:34:53 +0000 From: Matthew Wilcox To: Ryan Roberts Cc: David Hildenbrand , Barry Song <21cnbao@gmail.com>, catalin.marinas@arm.com, will@kernel.org, akpm@linux-foundation.org, hughd@google.com, linux-mm@kvack.org, linux-arm-kernel@lists.infradead.org, chrisl@kernel.org, mark.rutland@arm.com, steven.price@arm.com, Barry Song , Kemeng Shi , Anshuman Khandual , Peter Collingbourne , Yosry Ahmed , Peter Xu , Lorenzo Stoakes , "Mike Rapoport (IBM)" , "Aneesh Kumar K.V" , Rick Edgecombe Subject: Re: [PATCH 1/1] arm64: mm: swap: support THP_SWAP on hardware with MTE Message-ID: References: <20240322114136.61386-1-21cnbao@gmail.com> <20240322114136.61386-2-21cnbao@gmail.com> <1006392c-c437-46c0-9a2e-e25e52236b67@redhat.com> <46ba09c5-4186-4e03-81cc-ca27c0301fef@arm.com> <775d6fb4-f555-4edc-a3c2-2f5cfde3d9b6@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <775d6fb4-f555-4edc-a3c2-2f5cfde3d9b6@arm.com> 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="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Mar 27, 2024 at 03:15:33PM +0000, Ryan Roberts wrote: > >>> Can we go further than this patch and only support PG_mte_tagged and > >>> PG_mte_lock on folio->flags instead of page->flags?=A0 We're down to = using > = > Also, I wouldn't want to hold this patch up in order to do this extra wor= k. I > think the 2 things are orthogonal? (supporting THP swap with MTE vs not u= sing > tail page flags for MTE). Can we discuss and handle it separately? Yes, I'm not trying to hold this patch hostage. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel