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 908B6E80A93 for ; Wed, 27 Sep 2023 06:31:15 +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=0zgb9W1xiazviJFjmZqCqthcrWpWFmHh0kDwOtuCSsk=; b=EIKx4L6f+OfPNe sxMbIY1gjT8RMve2as1oPCwUnC0cCdINz/edNqFH7IIweRSdCWBGhvf2398F5jCeHqRkpW6AeLxsg waUn3RZOQWlfHiabjNNW1LkaBvx2fm9kugfyuSpUy7Xn9s5mBdZJ7GZfm/k/1UjNd+/YaaNw19gQc p5WnNRsov9OWloBIoD6ByV7cVR2Lby65hYMPD+8cpSVwhHQzdIJNJYnvW2F+hrt9otVKu0zuPZ3a5 7nRq8daQXvhfxMr3J/53kwzb8CGrHgDGhCAUldXYJxR4O2EfOeelf9Gktb/8Of3wJWytDCYenHj/C OUMgkH8sF/0hTDM+2K1g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qlO4R-0006FQ-37; Wed, 27 Sep 2023 06:30:51 +0000 Received: from out-198.mta0.migadu.com ([91.218.175.198]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qlO4O-0006EI-11 for linux-arm-kernel@lists.infradead.org; Wed, 27 Sep 2023 06:30:50 +0000 Date: Wed, 27 Sep 2023 06:30:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1695796244; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=OcHQMUs7S3hEb2hCa9u3IStXK67tQ8ZYrh/J/yyNvkI=; b=Bzfo+qfXvK46D68vbx/KAsiucToKdFvwToS8WnNmrBCzGQvsQEYZzvyFNGBV5d/sgs3QWr r8oU/5cg+zIq1Ys5Kzw3nAYODCQKUj8nx8Q4uOBC46VzTlOGCwnSviPDBmXD4HrUG8Brnw kKSJgeJ+9ww4rBOtb+79O3mqT/ZqeDQ= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Vincent Donnefort Cc: maz@kernel.org, kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, kernel-team@android.com, will@kernel.org, willy@infradead.org Subject: Re: [PATCH v1 0/2] KVM: arm64: Use folio for THP support Message-ID: References: <20230926181932.1650692-1-vdonnefort@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230926181932.1650692-1-vdonnefort@google.com> X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230926_233048_760801_B2AD4AFA X-CRM114-Status: GOOD ( 10.29 ) 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 Vincent, On Tue, Sep 26, 2023 at 07:19:30PM +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. Better yet, this gets rid of a particular walk that has had some rather hairy bugs in the past :) > [1] https://lkml.kernel.org/r/20220504182857.4013401-3-willy@infradead.org nit: for the sake of posterity, it might be good to stick a reference to commit cb196ee1ef39 ("mm/huge_memory: convert do_huge_pmd_anonymous_page() to use vma_alloc_folio()") in the changelogs. -- Thanks, Oliver _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel