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 18F6FE810DA for ; Wed, 27 Sep 2023 12:40:23 +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=y0Cn4/QJ3KqE4pdgHO9lJwIgnT1H3ZfRpBCEk7benjY=; b=OWknw0rrKmzlLB yMJmOPa+gmBGEyLT6GFyxloEsNqBWC3aKiJQHK/2DmUTBr9zfnZ2nuAEmUoMVXX/k8T1aeAUcYIT9 zJE5+yqg34XJ2RqB1cFheyE2Ncn/K6ghV4Amq6xV86XXv5+kWpEdTwWJ0H7nG63OTJztZKZz0GUKh G7R0+IUPvV6dNYiMoll2XtWyQymbItH10xcnwNf4CywSR2GRgRTTqd40HmVZXxV5tCDiL2reYew0A gjP6U59T1IBjX+lype2EBQx84PmnBzzmbeXO4bwWJTZ78oD7YzQXgTVEgq7VogqwoSoPzGmjv0rTO hWvoZR1J+hRmp0Q6UaBA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qlTpf-000ure-1u; Wed, 27 Sep 2023 12:39:59 +0000 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qlTpd-000uqM-0X for linux-arm-kernel@lists.infradead.org; Wed, 27 Sep 2023 12:39:58 +0000 Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-31ff985e292so10562795f8f.1 for ; Wed, 27 Sep 2023 05:39:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1695818388; x=1696423188; darn=lists.infradead.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=bTA1Nn/9nJiqE2dp6IAJC+LQ+4ngnD0zddI0+KHWMMU=; b=ZNZmjJl8RKuA5mLvqPmNrw+CyzORgZOxAc43eDiIeoZ3DMBgsgMGkmlkA/oT14O5cH xungctsYpBZW12hXT6mZMC66tzcbvThQFJwnkZXUewvcg1uSv33dj/bjokWYEudFYFZP GN6e/Zv7uCFwOes9D88NpWBR6AkKYHok9QJbFvtLj6bg+9R9yKnSQIettzNog29uhif8 RZr3rMXwyidc4yeYD7xM7q9OEsdxsjC5Q5qGIqxqxqVXLz00sPX878grpPZwORfc8Oxj 5UEkXftv9ucKE/ciq+n6spm6Kq9eCZhDAQa8XKri6yuR2wcXnBiQKYLCsLOkWnrgDmjR eIhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695818388; x=1696423188; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=bTA1Nn/9nJiqE2dp6IAJC+LQ+4ngnD0zddI0+KHWMMU=; b=MN6TTero4XOY7IHIBdZ/juUabqRI/8/6CIl1TPVrh9BQ5BBbSksQxbigHrxR/s2qmm QJyjmpF3JdodtX4ljx2aby/TF8PjwoK91yv7fCrA/iXlwikopt4QkuYptZIBLIjED8Ru P6xfBFB+KobUGN5p454igVv2kK2qLloYZ7WUVOL5ptDf+EmS5QzZPELh+5WE87OpTVfD Uv25/F7W9sx8vRsLm36dMZRzEe+BCu/POzxo9Fa4dDH+nlXlFQi/supEb9GoPXTQf/xa DZBXDV+uaJcZGq+ugKxly6StalH1c15FtjOH4HZNIe61VXuU1L3Jssk1coRAXpgd45jM lH9w== X-Gm-Message-State: AOJu0Yygn6gvwWlDaTWsl3Izn8h9dkYS7hJKKkXuU8yNwA9sba3ukfCe 0uXUJKn4kl0nrpZiitKfwfn6Qw== X-Google-Smtp-Source: AGHT+IFOfZDsaU2Wgb3xBaiFul+bsaxW9mNk2PdMLIdYcGcI0xasbJngjJZ+HmHKLZ1uS0jKT6rkIw== X-Received: by 2002:a5d:67cd:0:b0:31a:e73f:3fe7 with SMTP id n13-20020a5d67cd000000b0031ae73f3fe7mr1853788wrw.3.1695818387830; Wed, 27 Sep 2023 05:39:47 -0700 (PDT) Received: from google.com (65.0.187.35.bc.googleusercontent.com. [35.187.0.65]) by smtp.gmail.com with ESMTPSA id h4-20020a056000000400b0031aef72a021sm17254092wrx.86.2023.09.27.05.39.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 05:39:47 -0700 (PDT) Date: Wed, 27 Sep 2023 13:39:39 +0100 From: Vincent Donnefort To: Oliver Upton 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: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230927_053957_202273_9A212C52 X-CRM114-Status: GOOD ( 16.82 ) 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 Wed, Sep 27, 2023 at 06:30:40AM +0000, Oliver Upton wrote: > 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. I'll add that reference in the following version. > > -- > Thanks, > Oliver _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel