From mboxrd@z Thu Jan 1 00:00:00 1970 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) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="GdIGWLIf" 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.