Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6453007rdb; Thu, 14 Dec 2023 21:07:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IHvpkcPedM1gUvnFHRVr6/aetV9R6NIBEmszhyVBHNWFPTCyvFBHD1kDJ4IPZrOBYGcqxgj X-Received: by 2002:ac8:7d0f:0:b0:425:4043:18a5 with SMTP id g15-20020ac87d0f000000b00425404318a5mr14389681qtb.88.1702616841563; Thu, 14 Dec 2023 21:07:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702616841; cv=none; d=google.com; s=arc-20160816; b=cqL+Kz3jzeL+caVfVzTgmPMN3ZhYbKp64KlMWy95T9Vd6oNuaBl/sxTcWPLiU2YEow dD/LZlNcLbJCNtmNHGk7AASLF6/7IUT/f2v+Qh+rK++7na6tB+hp1ji+frlw3F423gaE 7EOyNAuDDoYqKGUdg0Aw8OfRbClz3FpbJasNA1AB5x/gz04XGDmScryKkB2XMdNhtXTy rR3yPFATHapeUmLCoQ26SSgNtrLPDfdep9+3E3gCmtZYO7gbc3sgVDSmVxD2nTUGx90v rrvK7AP7iVL74F5zb62DaSPMkB1J51xmfrun/x8pSZ72Sek+RFJ6H49mApPHKPNBftP9 dxPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:date:references:in-reply-to:subject:cc:to :from:dkim-signature; bh=WxJdubc9qQ8FgSLZ8Y+a/aPcxdmC6jbCQGiF/n07Xu0=; fh=ybDOYSML9DZqlYmuG10xSt0oB4SyKtcdDZ6S1j0YD4s=; b=lYK0BD0Wo7E6xsr+u13oYMaOFM4wNet1FVYsFhqYkSYhs/+rcINj+I8CoVJLA/xm1c Jb0d7r9uqhNym0eNdhEWyNPAfSTrqELmB2yiGqB2T3fqPieBieqqyRs0rCcHBGjoxBrs aEm1DMgcAsWjS/IsgZwmkKcy9fCsIr0uvrnAAYeas7jGb2QwUSf8v4CZcXAN8Nhr+k7q fJD7djV9GXLHmfKda7o+5zSglFkv+q/KjizNGxlRMMPJH4j1s7J0AsvdD898phEuxwnq dCGw3CD946Z0Wo0LV7GgRL/DWITrNv5ogML+IycXeZ7YkGpT/ahMw9bQ7jdVRxpjNOcU X6wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=f6za4w2V; spf=pass (google.com: domain of linux-kernel+bounces-439-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-439-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id r6-20020ac87ee6000000b0042585815311si6036320qtc.596.2023.12.14.21.07.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 21:07:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-439-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=f6za4w2V; spf=pass (google.com: domain of linux-kernel+bounces-439-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-439-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 418AE1C223BF for ; Fri, 15 Dec 2023 05:07:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0BE2F63B8; Fri, 15 Dec 2023 05:07:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="f6za4w2V" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) (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 08C86568C for ; Fri, 15 Dec 2023 05:07:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702616833; x=1734152833; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version; bh=3e7AMY7QdzXuWquhHAYkwaACFpgpbv91kPnT7khPuGY=; b=f6za4w2VNNkmJ8BYEelRsGbwy07Ahsi1f0Hafpnzj6mgrOwtYanT/iMI n+VXAECqvtHIBF9btnnUXZpediaf2A2EcRqoiqMUN6LGiph6ZXTzk2l3t mT8f7UpumDj68qmINcHItaD5kZVy7Q7o55zAYC5MsyTjt+923ehdIfYo/ Zt0SuaSv1LkTELwZ0tuVytSmdZ0L+qa7CFezqViEe4/I9JBUlrazvtP3m 8aZnELUR80zhoomfaDSYENdCKx0b6mpE251Te425sKcGmXUEY/LAPFjuP C87NvMWK3J6C6AKmVWzc77eihETKAs9eMZoEuYqipk6G+/sh8RWBQM/Uy A==; X-IronPort-AV: E=McAfee;i="6600,9927,10924"; a="2398244" X-IronPort-AV: E=Sophos;i="6.04,277,1695711600"; d="scan'208";a="2398244" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2023 21:07:13 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10924"; a="803585413" X-IronPort-AV: E=Sophos;i="6.04,277,1695711600"; d="scan'208";a="803585413" Received: from yhuang6-desk2.sh.intel.com (HELO yhuang6-desk2.ccr.corp.intel.com) ([10.238.208.55]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Dec 2023 21:07:09 -0800 From: "Huang, Ying" To: Andrew Morton 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 In-Reply-To: <20231213151341.9ae5fa2bdc266d794a7eed39@linux-foundation.org> (Andrew Morton's message of "Wed, 13 Dec 2023 15:13:41 -0800") 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> Date: Fri, 15 Dec 2023 13:05:09 +0800 Message-ID: <878r5wqcmy.fsf@yhuang6-desk2.ccr.corp.intel.com> User-Agent: Gnus/5.13 (Gnus v5.13) 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=ascii 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. -- Best Regards, Huang, Ying