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 X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D4071C433DB for ; Mon, 15 Mar 2021 19:41:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8DB316146D for ; Mon, 15 Mar 2021 19:41:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233311AbhCOTkq (ORCPT ); Mon, 15 Mar 2021 15:40:46 -0400 Received: from shelob.surriel.com ([96.67.55.147]:49186 "EHLO shelob.surriel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232024AbhCOTka (ORCPT ); Mon, 15 Mar 2021 15:40:30 -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 1lLt4V-0008JW-7D; Mon, 15 Mar 2021 15:40:11 -0400 Message-ID: <048e5e1e977e720c3f9fc536ac54beebcc8319f5.camel@surriel.com> Subject: Re: [PATCH v1 09/14] mm: multigenerational lru: mm_struct list From: Rik van Riel To: Yu Zhao , linux-mm@kvack.org Cc: Alex Shi , Andrew Morton , Dave Hansen , Hillf Danton , Johannes Weiner , Joonsoo Kim , Matthew Wilcox , Mel Gorman , Michal Hocko , Roman Gushchin , Vlastimil Babka , Wei Yang , Yang Shi , Ying Huang , linux-kernel@vger.kernel.org, page-reclaim@google.com Date: Mon, 15 Mar 2021 15:40:10 -0400 In-Reply-To: <20210313075747.3781593-10-yuzhao@google.com> References: <20210313075747.3781593-1-yuzhao@google.com> <20210313075747.3781593-10-yuzhao@google.com> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-19NcWN0KB6IZDZ4ZjXkn" 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 --=-19NcWN0KB6IZDZ4ZjXkn Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, 2021-03-13 at 00:57 -0700, Yu Zhao wrote: > +/* > + * After pages are faulted in, they become the youngest generation. > They must > + * go through aging process twice before they can be evicted. After > first scan, > + * their accessed bit set during initial faults are cleared and they > become the > + * second youngest generation. And second scan makes sure they > haven't been used > + * since the first. > + */ I have to wonder if the reductions in OOM kills and=20 low-memory tab discards is due to this aging policy change, rather than from the switch to virtual scanning. --=20 All Rights Reversed. --=-19NcWN0KB6IZDZ4ZjXkn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEKR73pCCtJ5Xj3yADznnekoTE3oMFAmBPuBoACgkQznnekoTE 3oNuBwf9F81lfW/snOIZ0xVgUD2f+HT5RenvjslOA2pATrLe1eqBmewSCp+07WzK wiSTeynZ7wGt7Mt0I3GKmoJiYey81U9uktslnYRqQsVY5/FdkU97dfij8K4LFlQL vb31hTTpaR+n5t8CPCbTscX1HxwR3v1GJzCQKND0FOHGnFnqf3SgK6g2uK0poXD3 OjgKujlBuWAQTXXkGv2ZULyY82tsJc6n6R2dB2a8BpzrkZoN1qh8IvtwArwq9IoJ sqzz5EslgyqclFQz6jjAMuSLtYVYy5dn6NW98vJUoDnCWw39Mf8oCKK9YxtH9DaD cTU6f9MYMav3eNkSH5SN0+cLV+NEcg== =UIpp -----END PGP SIGNATURE----- --=-19NcWN0KB6IZDZ4ZjXkn--