Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6906271rdb; Fri, 15 Dec 2023 11:25:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IEgrwrEPpX5tcEc1rypf2NUv+AsnP0CbeHk0DUO0oaDwLoktnsbHU+3x6qFPvG9RZto2jtW X-Received: by 2002:a50:8713:0:b0:54b:e7c8:c9ee with SMTP id i19-20020a508713000000b0054be7c8c9eemr6286806edb.38.1702668300708; Fri, 15 Dec 2023 11:25:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702668300; cv=none; d=google.com; s=arc-20160816; b=s32/ZtUzuorKgwNbLBMvUytluNjMAm04u5G7X0ACFHt+7LM1jRS+wVXG732I5K7dbz XceRg9YPYs41GH5fd8xBbFO4Sz55NEyAFSXdkIPPywXbKw1ZzXb/DbNuQaxIk2ZIdpj8 WKvmTgmivd9udfbMtpwXnYaIc2BsChBUlYLwXm4bHUohvm5YIF1MoOpLxnRnl8bDpGd7 rTAaCFfUFohEYgHYUHsErUCIguil5h5SitxkI32WyrOGsfuJtrYkxPM8pahlZPS7dgf6 YV8lfbT4LH+tjNOq/H3Nq5gAUCHJhPJQpRmRyXVjavTDZ3mWwq40EVzZimxvA/8OJn3/ W0Ug== 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=EXPoS75Mx9vFfao90ouanrKOLsHMr2/FH3xVp8NDg5I=; fh=qxy25YijNmK7IdEf3otl4LlvXDZ940JalU0j8McF0Mo=; b=Nwn9CUN7yAz8F+z0y7Bg5Xy4C1vdLzAycRd6N9xMtV2dd+N9+ErO7yLgZ4zWr26EV2 +B21mokQ/+NvYvi3BeLf3ZXixDNBjTONMDFgYrfAtLjMfWfo1ORpAiOfNxzrjedq9nic u1je9daQZfNSOxfQQkpUFT2kifs63rcMkVc5ZT8hNOtN8DPBbSwYqALnCld0rrSEwHl2 YTSL5Wzpt3fXAFv1VSVFbyevj9EUCNcKS46dbaT4q66jBbhXv010FdOLrQxM642l5dCR dIFBQErlZ/O4OQj5LZUnbBe+VFFEV/mB5oo7j3m7BOY3JhYDihbxEGuLhvxgV8MaXPCX asiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=GdIGWLIf; spf=pass (google.com: domain of linux-kernel+bounces-1565-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1565-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id q24-20020a50aa98000000b0054c6b2eb7afsi7571394edc.49.2023.12.15.11.25.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 11:25:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1565-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=GdIGWLIf; spf=pass (google.com: domain of linux-kernel+bounces-1565-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1565-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 35FF61F25169 for ; Fri, 15 Dec 2023 19:25:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 85F1C41864; Fri, 15 Dec 2023 19:24:39 +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="GdIGWLIf" 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 A2B174184B for ; Fri, 15 Dec 2023 19:24:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AC3CEC433C7; Fri, 15 Dec 2023 19:24:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1702668278; bh=7GKOWTHeLhcPaRSYOOjlnHul/VurODSjj9PrACw8s3Q=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=GdIGWLIf8/T2P1aKV3L5uWyvsBL9y5wks4C2WWMrZs8+Qs52kJ9DgBvWWYIVRbwun Yz2kAwl3TyfoPfUAoCPBRxdbG2wzDtzltsQu+3t0QZZ3WqvCCMhWraxXqYYKyMmJeU o25HuAFj94b9WK5u+mA/GnGE7oqry15PxpS4HZaU= Date: Fri, 15 Dec 2023 11:24:37 -0800 From: Andrew Morton To: "Huang, Ying" Cc: Michal Hocko , Minchan Kim , Yosry Ahmed , Liu Shixin , Yu Zhao , Sachin Sant , Johannes Weiner , Kefeng Wang , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Mel Gorman Subject: Re: [PATCH v10] mm: vmscan: try to reclaim swapcache pages if no swap space Message-Id: <20231215112437.d265299e270722d540e4a246@linux-foundation.org> In-Reply-To: <878r5wqcmy.fsf@yhuang6-desk2.ccr.corp.intel.com> References: <87msv58068.fsf@yhuang6-desk2.ccr.corp.intel.com> <87h6l77wl5.fsf@yhuang6-desk2.ccr.corp.intel.com> <87r0ka64v9.fsf@yhuang6-desk2.ccr.corp.intel.com> <20231213151341.9ae5fa2bdc266d794a7eed39@linux-foundation.org> <878r5wqcmy.fsf@yhuang6-desk2.ccr.corp.intel.com> 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 Fri, 15 Dec 2023 13:05:09 +0800 "Huang, Ying" wrote: > Andrew Morton writes: > > > tl;dr, what's the viewpoint on this patch now? > > > > I have a note here that we're hoping input from Johannes, Vlastimil and > > Mel (please). > > Michal has performance concerns. So, I think that we need to stop > scanning anon LRU if don't find enough page in swap cache at the tail of > the inactive list. OK, thanks, I'll make the v10 patch go away for now.