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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 36C12C433F5 for ; Tue, 11 Jan 2022 01:42:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244145AbiAKBm3 (ORCPT ); Mon, 10 Jan 2022 20:42:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243599AbiAKBm2 (ORCPT ); Mon, 10 Jan 2022 20:42:28 -0500 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B05BC06173F for ; Mon, 10 Jan 2022 17:42:27 -0800 (PST) Received: by mail-ed1-x52b.google.com with SMTP id w16so60998936edc.11 for ; Mon, 10 Jan 2022 17:42:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EetO87X1Cc8PLBp7/dYf1qI4/zBTYAFhbzwsEuQlAc0=; b=Oq2UN+3x0Nz3S9avHhTQ89xnKr9pPDSwJUJ+WyUVDmx3IxxBr7E17MVLrv7h/u8MXD oioMf6P6tBKFLTtnOlGNXcvHoO2/NcsaXQt15ZYfDzy2RgWb3Ef/Y48bEsbS6AXT1Ntc gkVetaKNrgmpdOn3ctfa4L8vGd8C/GAbM+b74= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EetO87X1Cc8PLBp7/dYf1qI4/zBTYAFhbzwsEuQlAc0=; b=P5tCTPFwiVRwGMb3jmJpBLXhfnFnnR6LRZ2ZdctGIsOrOMs8dzjdKLQtAI0WRQ7IFf LDAWN9QvP3tI9hH0pcVFjmd/tExLm98xBE0bfEO7eHUuy8hikxUR0DOgzvPvP7ylDL6V 06IUTRXN3qqpGTdTOniSTnZnxrPfmL2REwyT0OgPcOSc0pIG6xzfb/aQXFamY6vm/NHL 4iR49be6ETEAnKDgnruRrRxxdr2nPmIl/qm02BFN0jDPiFR7irRQAvrqfeKwXLejEWz8 /gt7XedCK7cLwb3Hcd/O2BuhU0WMPHU/5BjlqzKBgwOppwvy7ZvnuspXQKTGWKHJsTAI oK7g== X-Gm-Message-State: AOAM531LE3txKtgyHudPax5w2p9IyAtJbXvWOekFV28G1uvsF89pfQnQ oXoVZdMNf4okENO0r33KMzztdOmXahm9s3pMjgs= X-Google-Smtp-Source: ABdhPJwFRkurbcW2JhJKFBAsLP7TenJBBcJgtt4GGtmNeCuzHANeFqQWJeGYJqvNyqqu8TLjU5xy3Q== X-Received: by 2002:aa7:df18:: with SMTP id c24mr2236225edy.164.1641865346130; Mon, 10 Jan 2022 17:42:26 -0800 (PST) Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com. [209.85.208.44]) by smtp.gmail.com with ESMTPSA id hw8sm3005277ejc.198.2022.01.10.17.42.25 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Jan 2022 17:42:26 -0800 (PST) Received: by mail-ed1-f44.google.com with SMTP id k15so60890008edk.13 for ; Mon, 10 Jan 2022 17:42:25 -0800 (PST) X-Received: by 2002:adf:c74e:: with SMTP id b14mr1780419wrh.97.1641865334895; Mon, 10 Jan 2022 17:42:14 -0800 (PST) MIME-Version: 1.0 References: <20220104202227.2903605-1-yuzhao@google.com> In-Reply-To: From: Linus Torvalds Date: Mon, 10 Jan 2022 17:41:58 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v6 0/9] Multigenerational LRU Framework To: Jesse Barnes Cc: Yu Zhao , Michal Hocko , Andrew Morton , Andi Kleen , Catalin Marinas , Dave Hansen , Hillf Danton , Jens Axboe , Johannes Weiner , Jonathan Corbet , Matthew Wilcox , Mel Gorman , Michael Larabel , Rik van Riel , Vlastimil Babka , Will Deacon , Ying Huang , Linux ARM , "open list:DOCUMENTATION" , Linux Kernel Mailing List , Linux-MM , page-reclaim@google.com, X86 ML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 10, 2022 at 2:46 PM Jesse Barnes wrote: > > So unless we want to eschew big mm changes entirely (we shouldn't! > look at net or scheduling for how important big rewrites are to > progress), I think we should be open to experimenting with new stuff. So I personally think this is worth going with, partly simply due to the reported improvements that have been measured. But also to a large extent because the whole notion of doing multi-generational LRU isn't exactly some wackadoodle crazy thing. We already do active vs inactive, the whole multi-generational thing just doesn't seem to be so "far out". But yes, numbers talk, and I get the feeling that we just need to try it. Maybe not 5.17, but.. Linus