Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp352487pxb; Wed, 14 Apr 2021 17:34:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMOADazC52tgf9I8XDq6g9FbJnd1sP8irOoDy3D3KqBUSKk7pHaLFeJqNqScR6DLBSTvrL X-Received: by 2002:a05:6402:94b:: with SMTP id h11mr969893edz.180.1618446863763; Wed, 14 Apr 2021 17:34:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618446863; cv=none; d=google.com; s=arc-20160816; b=f4yDnUjQBi7g9CdhHiCyS/MH/qGC38LWA5esvWi2nuW/FtpOcLENseqKNMD0H05QI3 /HwSgUhYa0EIqTxDn6xLFXttt7WBSkgDEj5MxaZXu5ZP1QsLOcAMJppfYOn3iaDmxdTo eYSOQ3c8UGJV7pR4GMwUPsWHfIwZLsIi1NTpWGVAnrbXo4+1ttq6Z1HxkfApG2TUjqOA 27+5ih6BAhn8ldSuJf3pLGRsMR6+xjmV4cOBuToCMnc9ywr/eqLb6Hzqa6j/qtJNyvfl Uq7ryj/+H9tRBGUpWr229b01HUfVS/Ha781P5ysnvSDD0tnYNFpIPsjIwJ7BKhqss0Tp FSKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:date:cc:to:from:subject:message-id; bh=bKWy3SpI+VrKjS0Oj7CveW/jwILd2sPZHw5KqB7/Hw4=; b=qTq3IEcb1NyadljTiAPOj2u4nbFDCSy8J2q/nzFBBDeamiv/wwNdzSiBd8o1csqr92 KJCxz8lpBvrMkdBtnq7oPopQTiJnlCQxl+BiRJDVndPMqJay+lP7Q9Gzo3jloP/Qz78L y9uL2JkyFQb25qM4hGuTSw8qcC53O0NrNT/IYdEELw+m4bgD6grA72D+97+UzeFrFuxA Ci1LX+j92OR4pLS7e3srHeMQhVeCGq1xZsguKYd12DWojkV9viPjwEFl+InCpuIbbHWC ouu52MffLPRhBIiWkgJ7O9MdiHRoeVprbgHahs8osc8A2J2VlrmMRKfpsXqt3RyYzcT+ xT6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v17si1008636edc.355.2021.04.14.17.34.00; Wed, 14 Apr 2021 17:34:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352751AbhDNP7l (ORCPT + 99 others); Wed, 14 Apr 2021 11:59:41 -0400 Received: from shelob.surriel.com ([96.67.55.147]:56010 "EHLO shelob.surriel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352707AbhDNP7k (ORCPT ); Wed, 14 Apr 2021 11:59:40 -0400 Received: from imladris.surriel.com ([96.67.55.152]) by shelob.surriel.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lWhuo-0000xe-34; Wed, 14 Apr 2021 11:58:54 -0400 Message-ID: Subject: Re: [PATCH v2 00/16] Multigenerational LRU Framework From: Rik van Riel To: Andi Kleen , Yu Zhao Cc: Dave Chinner , Jens Axboe , SeongJae Park , Linux-MM , Andrew Morton , Benjamin Manes , Dave Hansen , Hillf Danton , Johannes Weiner , Jonathan Corbet , Joonsoo Kim , Matthew Wilcox , Mel Gorman , Miaohe Lin , Michael Larabel , Michal Hocko , Michel Lespinasse , Roman Gushchin , Rong Chen , SeongJae Park , Tim Chen , Vlastimil Babka , Yang Shi , Ying Huang , Zi Yan , linux-kernel , lkp@lists.01.org, Kernel Page Reclaim v2 Date: Wed, 14 Apr 2021 11:58:53 -0400 In-Reply-To: <20210414155130.GU3762101@tassilo.jf.intel.com> References: <20210413075155.32652-1-sjpark@amazon.de> <3ddd4f8a-8e51-662b-df11-a63a0e75b2bc@kernel.dk> <20210413231436.GF63242@dread.disaster.area> <20210414155130.GU3762101@tassilo.jf.intel.com> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-fqISq52dkvESve12W123" User-Agent: Evolution 3.34.4 (3.34.4-1.fc31) MIME-Version: 1.0 Sender: riel@shelob.surriel.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-fqISq52dkvESve12W123 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2021-04-14 at 08:51 -0700, Andi Kleen wrote: > > 2) It will not scan PTE tables under non-leaf PMD entries that > > do not > > have the accessed bit set, when > > CONFIG_HAVE_ARCH_PARENT_PMD_YOUNG=3Dy. >=20 > This assumes that workloads have reasonable locality. Could there > be a worst case where only one or two pages in each PTE are used, > so this PTE skipping trick doesn't work? Databases with large shared memory segments shared between many processes come to mind as a real-world example of a worst case scenario. --=20 All Rights Reversed. --=-fqISq52dkvESve12W123 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEKR73pCCtJ5Xj3yADznnekoTE3oMFAmB3ET0ACgkQznnekoTE 3oOWmwf+NLdHxOkMEfUsaCu0VliS0AtOhRW/rs6xlDeVVKUN1ZUu0EWq090tsEmu 9HorztY9517iMoQG4aSewE5eFdoTA4DznUS9MU3E/7esp9Sw6zbQlg1wHif/Cc/w qojnfuEvA4tjCZXiUKWJA/qpsvSRmr4tXhmZeJYhBw/V78WJTq0cZ1YKWhuJ+wu7 yeQ9lmt7FY371wa38hHGZ0B5aZqKfXqI4boaRApkVBz3KK4pATQCe7kI3lH0TY8+ XS/9h5DHgz5DaovC2P5LRwmZQG9ZZqytNPy4cYgCt9SSg/jFWRMKM7XnobVHIhsq zqMi/EQUXy/bnnHNHR5q8CcsjrZmfA== =GWQL -----END PGP SIGNATURE----- --=-fqISq52dkvESve12W123--