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 0D4E2CE7B1F for ; Fri, 29 Sep 2023 09:12:56 +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:MIME-Version:References:In-Reply-To: Subject:Cc:To:From:Message-ID:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=TA9+V8kfwQVykzBOv0sa4VZfAAupOVqHSxV2BdJEmUs=; b=PaT269x5GVQb2p 4RJhepekJi65C9t+7S+L6iShfU3+zWhdhDFDUdAIdbr9P6zSuu46g4SG5NAR6AjkcpUAkml5OI+xy hAv/2MnuL1efQjZ6Gf2RZskLRC6xp+kulGekUDTskPVDlqExxuFw9F9e3JyL9V1Ojv7xxycMQBM82 DfUglCMSbkx+z/aJEisCg8/vf9eRAMzGP8DH59EkTYIHCxRsCO8pZ2KyNhHX8kx4cGAPK9poj4DJV hMKX50WugfFs+mzLpGqWf/wbOXCcGznpBlz3K6+q7lQBFAl8SM4IyIGyE0YykYhd32m+SWIV2HjSl /ole2ihi5KTMbJovdcpA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qm9Xw-007RiT-2f; Fri, 29 Sep 2023 09:12:28 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qm9Xu-007Rhn-0h for linux-arm-kernel@lists.infradead.org; Fri, 29 Sep 2023 09:12:27 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id CB453CE224E; Fri, 29 Sep 2023 09:12:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 07E1AC433C8; Fri, 29 Sep 2023 09:12:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695978743; bh=9rRBf98M869kaVUic+vleAf5oBPc0+sjB7yDYV9aQ3o=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=AyDoO6CiwE28zXSrzVw2UGpO5KposVqYOEdz4tyTTGtfCb/FgvvC8bvCGmxdfHwOB 6fCGWz14wT8Qa5i8ejBtdCii5zEcpbY2S33KSHt83YIkZFTi68LXU02hGGvea0WoLC +rS0hOqXRqL/lhgACVcZ+UfST4KaM/eppN97UeCE5YaJl+eT7oJvO7cdYBFr9esjS8 bSIJdwpZiYVr0UK5C3JbqUfusuwHTUvLI00gcCIugl/cmuhAueQSjiSxE5rU5QU+Hd kUX9hmR1QbEQo80E408fzJoByytwAeJ5DN7948c+8P9oBdGc2iQWnSgdmPh4DXD+e2 HKY0ijXCX3Y/A== Received: from [85.255.233.37] (helo=wait-a-minute.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1qm9Xo-00HCRh-BA; Fri, 29 Sep 2023 10:12:20 +0100 Date: Fri, 29 Sep 2023 10:12:19 +0100 Message-ID: <87lecpmjgs.wl-maz@kernel.org> From: Marc Zyngier To: Vincent Donnefort Cc: oliver.upton@linux.dev, kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, kernel-team@android.com, will@kernel.org, willy@infradead.org Subject: Re: [PATCH v2 0/2] KVM: arm64: Use folio for THP support In-Reply-To: <20230928173205.2826598-1-vdonnefort@google.com> References: <20230928173205.2826598-1-vdonnefort@google.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/28.2 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 85.255.233.37 X-SA-Exim-Rcpt-To: vdonnefort@google.com, oliver.upton@linux.dev, kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, kernel-team@android.com, will@kernel.org, willy@infradead.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230929_021226_469991_19EF40E3 X-CRM114-Status: GOOD ( 16.56 ) 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, 28 Sep 2023 18:32:02 +0100, Vincent Donnefort wrote: > > With the introduction of folios for transparent huge pages [1], we > can rely on this support to identify if a page is backed by a huge one, > saving a page table walk. > > v1 -> v2: > * Add git reference to [1] in the commit message > * GUP always acted on the Head page under the hood. Update the commit > message. > > [1] https://lkml.kernel.org/r/20220504182857.4013401-3-willy@infradead.org > > Vincent Donnefort (2): > KVM: arm64: Do not transfer page refcount for THP adjustment > KVM: arm64: Use folio for THP adjustment > > arch/arm64/kvm/mmu.c | 79 ++------------------------------------------ > 1 file changed, 3 insertions(+), 76 deletions(-) Reviewed-by: Marc Zyngier M. -- Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel