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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id DCB1FC4167B for ; Sat, 16 Dec 2023 04:57:37 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7259E6B00AC; Fri, 15 Dec 2023 23:57:37 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 6B8D06B00AD; Fri, 15 Dec 2023 23:57:37 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 52A606B00AE; Fri, 15 Dec 2023 23:57:37 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 3CDD56B00AC for ; Fri, 15 Dec 2023 23:57:37 -0500 (EST) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id F2468A2865 for ; Sat, 16 Dec 2023 04:57:36 +0000 (UTC) X-FDA: 81571473312.13.B05CC65 Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) by imf17.hostedemail.com (Postfix) with ESMTP id 3252C40004 for ; Sat, 16 Dec 2023 04:57:34 +0000 (UTC) Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=AwbDajwx; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf17.hostedemail.com: domain of yuzhao@google.com designates 209.85.208.45 as permitted sender) smtp.mailfrom=yuzhao@google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1702702655; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=q5r42U06zmunbWwBQuRS+1tlAJPPjNMyHaDfp+o76tE=; b=DxBWAH16W3ZUngpvSGxY52fTYcoSoU14TH3v3Xf8CZDx3kbWemsb2tqZ4bm9GAeMx8Phlk aKMNIYqoOanrmi2C9VA+8QywMUrqSbcoaVjzAk38wIgHJRrCi9j+svAqkPUouhn+7ekgtO tkg+5uHNLEUUXhnAoXNSNpHdBfa9Q+Q= ARC-Authentication-Results: i=1; imf17.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=AwbDajwx; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf17.hostedemail.com: domain of yuzhao@google.com designates 209.85.208.45 as permitted sender) smtp.mailfrom=yuzhao@google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1702702655; a=rsa-sha256; cv=none; b=BoH48e/qHbUBX08K/r6J7ATLykQBaFWm+luVRBTtwLuzEihR5VHcKdJDxTl+jNV3zHnVl2 RQ49Yj0mqD8h9iz55bAUq19eavh98ID4B0guqFRP0+2d7HFI9Aa7S0JfxL/8zpNmbuHwfj /2eOgEY8mqGRY3/xs5VpvBxOmPQuXiM= Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-54744e66d27so6082a12.0 for ; Fri, 15 Dec 2023 20:57:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1702702653; x=1703307453; darn=kvack.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=q5r42U06zmunbWwBQuRS+1tlAJPPjNMyHaDfp+o76tE=; b=AwbDajwxFFL1+FGVtZh9dty6ri+CN3M6esv1TiopSuul7enB6Gd0E++LSRBCMgDNOt A73n4Fx/0Dh9bg1z+v6+dlRBq+JqLIsqN2XXzS68u/BfPwZbjl0bafB3MDDjlgF8BQsV 9ZzQEW7RaxMFJmpstA76dMd8siHLZbE1/1YDITTPzl2EuIv/tnG8lhCsfTuanwRGKwko v0nz3HWi3C0RJ+9xcCwc5YSLR6mkm5AR0GKsXHWqXmAVb5oIiyW1WFoipG7WVTaJkTUQ U4kRG1znGymPYoTAPQJ5b1AT1PYg3XrIkcFVrNGBJ+DuYJYBTHLUExFiBPXLNXUUk0fu ls8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702702653; x=1703307453; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=q5r42U06zmunbWwBQuRS+1tlAJPPjNMyHaDfp+o76tE=; b=lkV9SDVnfjc50IB1AH5IptmmxhSJKAPfGqnK/AAKVk6ockEDarvRSYJVwds2EvAruu 6McqWYCrzd2xMcDZuDvDldJC9LqA+J0AhJilvcF4oXD5UFTmjl1Db3jORvTddkVJ65t0 tZARRTPmgDW1MbtGZ/oqz71OYgTldga6nrkEFiaKvMk0IksFdmdZK6EdNqVCYgVrYyVi vYlC1WomFU4UXsBfkQAe1EB3AhdixNlpRzoCqsz38C/9XLaEx6w0eWmrO1W7xSqvlFfY IHA+wuRaHEPyIocztZiygwB4la6Pa8KPLQxpR8KEa/Z7ZLeBtcNI0GzdNNH1/Iwf68XX ozpQ== X-Gm-Message-State: AOJu0Yyoi9AOibqPmNqb67svFHt+SctUT6lCOXnyqAKEHR54g+xF1tV3 78Y5cnFQe36DvbyjiBv2WC2b5qDpTBlWGknKC17jeUeNt8kh X-Google-Smtp-Source: AGHT+IGDQoqZr+tLvBUv37AVP1fUI7zVcpLX+LHrxlY6DcLl8N+7C1M0uLgBDd7QLevCsjlz75FP01b7eN9KBYMz3Yc= X-Received: by 2002:a50:cdc6:0:b0:551:9870:472 with SMTP id h6-20020a50cdc6000000b0055198700472mr72839edj.1.1702702653461; Fri, 15 Dec 2023 20:57:33 -0800 (PST) MIME-Version: 1.0 References: <20231215071604.946a433bbc05a6409faf5a33@linux-foundation.org> <20231215122251.bad09400b337dfb1965f6976@linux-foundation.org> In-Reply-To: <20231215122251.bad09400b337dfb1965f6976@linux-foundation.org> From: Yu Zhao Date: Fri, 15 Dec 2023 21:56:54 -0700 Message-ID: Subject: Re: [GIT PULL] hotfixes for 6.7-rc6 To: Andrew Morton , Linus Torvalds Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Jesse Barnes , Suren Baghdasaryan , Guru Anbalagane , David Rientjes Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Server: rspam09 X-Rspamd-Queue-Id: 3252C40004 X-Stat-Signature: ou5u6o5hdkefkcequwb15i4ay4ze9qzg X-Rspam-User: X-HE-Tag: 1702702654-758411 X-HE-Meta: U2FsdGVkX1+BRfUSsG0Vgc5lix60953qpHFybEU0OwNubzDUHtk/cPIjumAqDmEZflcQW5ZcAa7sqN6zFPngZaRXg0qhs/6EaYBCf10xd+O3OBxwhRXDiSFjvP76+3Ea8pPUAeArtb0Ef3cNrZf3wvt3k7sqGHXdgIeuc0dovVW2TtFAbIsFMaFc5jImSZ4JSdwcNPgfSAGmtKnQzj12UKMTa4Pa+WeZzZpR4lY4cHImTnp6B3+aAYuJwwrbsYWb0mLlYzK3JbgFhV7MWn6jgZrC+EnkhmLZMbaJ55mqj2tf5gqiKVxICIigTnBBOvnsDv4fW7tnLKegWJhd3ZOFtORjABtzlrJrcY3VUD+pVhCEFgMtboOwwSZuYrzkbtrzo+YQqpkvqgFnlp08LpZKl8YGfZCkyR4Lsm8znBhnHopji6akdhc4WgKsp6NTCmhCjKDgjz+IQVrpnBl+MkTgXRi0CsWMATTBiNI27H5q5L/fzKzoPlVH0Ic6tPVKRTvDbljVQIORiSPt32lJlvqCk4yfWvCfFicuwE86xphO49K9kMDW5rb+nyCkRrv233z+mdytH36pSTE10GxccERP/+Pp7YNgNmSW3m2sbnJ2rvcY6RdoAwulypM3yWTtvsYThumJhen4L8WEgo5u23nRNNbcBxIMEI8/2+5F/lL4scq6PeGC1XIYgUA1Sp6CF5LtQ2kDQdsLNnROh7DjC+UNwau9eOvEkk7Ltnrww1asip3mbLJyzpFdnbil+lptmz+n3RJB9D8YY+43C1sQI3Dm3n0XZZdCHQn/NEyOwn0ExZbUxAe5iR1j2i19zZCi9beEgWzhbvmdShJxHUEeY8whSc52k0bmzpEfIIn+1lQ8AExmCuseCB9sIiXQlopjSdQP/u1JeUfHEIJSFr4btBxd5hZMSQH5RdWscT3U6SAxhfaW5p907Ci9V3VwiGNX7OgUMdEgh8BYY/Fn8rRf2OM D5g+NP08 zHelBbILyVI6bpA1J2ldozTSmTT7lr55fHm5CVEHzXOkrPRxwz7NyTE3jaqXxSC+jPLACf5nwAwVhkjauuXTKtw5O8NXwymkc4oe3vc7AC5xo6RYmpiYgeJcgSBFsnamthZoJPJY8zzaNxq81mPQyySy2MB4aaNmNPAuqZ0wZN67uGPbTyDNDRojjoTABoR39KMiYvBSnC1JAMN3LvmteEOAy287rAvpYmipZMv3/As5GRf5ku/HDFQAYklz1+dAvvEC6GpIkrL9HcmucyaE8mXkFNDnReTSJHwYGAOTGb7RyAsv/ewnoIK5juBHTS0t3VrtU X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: On Fri, Dec 15, 2023 at 1:22=E2=80=AFPM Andrew Morton wrote: > > On Fri, 15 Dec 2023 12:11:42 -0800 Linus Torvalds wrote: > > > On Fri, 15 Dec 2023 at 07:16, Andrew Morton = wrote: > > > > > > Yu Zhao (4): > > > mm/mglru: fix underprotected page cache > > > mm/mglru: try to stop at high watermarks > > > mm/mglru: respect min_ttl_ms with memcgs > > > mm/mglru: reclaim offlined memcgs harder > > > > Entirely unrelated to this pull request (which I already pulled and > > pushed out, as noted by pr-tracker-bot), since I looked at these it > > just reminded me about a question I've had for a while... > > > > Do we have any long-term (or even short-term?) plans to just make > > mglru be the one and only model? > > I hope so, but I haven't heard specific plans. I don't know when we'll get there, if we can get there at all. But we have been steadily moving toward that goal: 1. We worked with all major distros that follow the mainline closely to switch to MGLRU this summer (Arch, Debian, Fedora, Gentoo and Ubuntu). 2. We hired more kernel developers after we demonstrated the ability to substantially lower hardware cost by overcommitting memory at scale. 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. Thanks.