Received: by 2002:a05:7412:b112:b0:f9:3106:f1c0 with SMTP id az18csp66268rdb; Sun, 17 Dec 2023 21:47:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IHd6A+gLThLtbq9p2M/mUssv+di/hZnxm8lS3mE8O0UHqvnRH3+0YEwgfCCaAzW2Vf6bliA X-Received: by 2002:a05:620a:8504:b0:77f:9dbe:506b with SMTP id pe4-20020a05620a850400b0077f9dbe506bmr8474573qkn.93.1702878425539; Sun, 17 Dec 2023 21:47:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702878425; cv=none; d=google.com; s=arc-20160816; b=rux4cSiX24OwMSlxHYPOPgw4j0duvQmsmNsUM6rHkot5+yYrMSkd+ykU2EmIsPSpMg 1Ceq3g80OOTTh98eA8eEYFnQ2d/feTbcyroLnBdbqi5WBQIOpPsQpL/J5qKj5fIGUm89 inuVOGWcZApt/c+PgWl2BhaA5XGI5B666dPzBzM4+CxWmOqnDLNin70XtL1cHrfvGr5E 6Nz+EBEFuGvutAEFlDe7zAKE0jVJ5jOcKr0MuwuNVEHztoM5s2Hwa65AbLpYYWROnAMk FBPMyTyXHDjSojlh3yP+lrqXBKI++TYIfBbKKvWoizhUTDR5xvRB79C/qKIxdAXN38zp 6tmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=rE//d2zMvReYIfhj/YjpFr1UXOYUPrLEMcWNWNn6Unc=; fh=1R2DgQb5dgKcnwsJiwrj8se2hwzWlxT2B/scNkOJVtQ=; b=cDY74r3dWfADSftF2p6HNhVnvI7qYryAeT4TZoBw4/WQep3cMtGZt7bdheIy9Pvzqr loniZiuIyAzJKqHa8eUnZXoBBfCxEFYVGpi7L3p8gbRNj0uvDgWPpoCGfV/ZXDct04F5 YbQzC2IpIC9uA+x3HY1UtnE0Al7mbGGbCFl1WVvayByHvtdDwDKK2Sqpu8CDd4rCM8hf DwuN/UoTc36BtGldRgDhljPSGAZo+WeXRmeF3pzWw2vfzKeIK1RVClKOjiiSrE02/cPz pN42AeptHF0bYVjE8tFYxt8XfKmyDWovDtGRXPlEkPlrpH7swLezEArxlbAPWxqoavSG rc9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=VPQUMJca; spf=pass (google.com: domain of linux-kernel+bounces-3012-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3012-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id dz14-20020a05620a2b8e00b00779d0a62e5fsi25128169qkb.660.2023.12.17.21.47.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Dec 2023 21:47:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3012-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=VPQUMJca; spf=pass (google.com: domain of linux-kernel+bounces-3012-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3012-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 38EE41C20BB5 for ; Mon, 18 Dec 2023 05:47:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 513E463D7; Mon, 18 Dec 2023 05:46:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="VPQUMJca" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3D95263C9 for ; Mon, 18 Dec 2023 05:46:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D594C433C8; Mon, 18 Dec 2023 05:46:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1702878417; bh=Aitsqp9o/OwmXfDwBOhtyQ3t1dhttz5cuHNKGQ3/Lq0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=VPQUMJcaXqkA6kWtQFYNOCoUb70Yg8hE3wmM4LgkM6VkCgKVGs4KvRQ9/KuRM5C/F aGCCSNuKoRCcWD6LA60b3Bd/2fL7ectZLVtfa2QyXKAU+WHPvcddnLcOL1NzgSOGyW EDCfAQwGDTpFV8QKiqsQr+Fb/u6LNLr4v3Bi0m+w= Date: Sun, 17 Dec 2023 21:46:56 -0800 From: Andrew Morton To: Matthew Wilcox Cc: Linus Torvalds , Yu Zhao , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Jesse Barnes , Suren Baghdasaryan , Guru Anbalagane , David Rientjes Subject: Re: [GIT PULL] hotfixes for 6.7-rc6 Message-Id: <20231217214656.ee095a1df467b745ad1ca75e@linux-foundation.org> In-Reply-To: References: <20231215071604.946a433bbc05a6409faf5a33@linux-foundation.org> <20231215122251.bad09400b337dfb1965f6976@linux-foundation.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sun, 17 Dec 2023 15:40:19 +0000 Matthew Wilcox wrote: > On Sat, Dec 16, 2023 at 04:16:45PM -0800, Linus Torvalds wrote: > > On Fri, 15 Dec 2023 at 20:57, Yu Zhao wrote: > > > > > > There has been a short-term plan, i.e., moving some of folio->flags to > > > the lower bits of folio->lru so that we can drop the Kconfig > > > constraint. I have discussed this with Willy but never acted on it. My > > > priority has been to surface more of our ideas that can potentially > > > save users money on memory to the community. I'm CC'ing our team > > > leads. Please feel free to let us know your preference on the > > > priority. > > > > This is definitely a "eventually" thing on my wishlist, so I was more > > just wanting to hear that there is a plan, and somebody working on > > it.. > > "eventually" we should get rid of LRUs altogether. They're no good for > a modern CPU. > > https://lore.kernel.org/linux-mm/ZTc7SHQ4RbPkD3eZ@casper.infradead.org/ > OK, but... What of the cost of physical I/O? If a computationally more expensive scan results in less I/O (hopefully) then the balance is altered?