Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2610842pxb; Sun, 17 Oct 2021 20:26:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyqi+q2GPhRyLstwlWQQI5zHKiy9hX7v81r3guirs6qaFEylQawfDB4m8bHUJ9h68FmsXKX X-Received: by 2002:a17:902:eb54:b0:13f:b4d4:cff0 with SMTP id i20-20020a170902eb5400b0013fb4d4cff0mr5457217pli.31.1634527589910; Sun, 17 Oct 2021 20:26:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634527589; cv=none; d=google.com; s=arc-20160816; b=cnELfkLmqxDGLfPtPUDQgvxNYWkBexRH5wlovHkkerhxUj9r+PiSPzncep1QUYnSuC 27hbWJodYdP/DlNHJsylkRrtJ6q/HUGjU/3ax9XiM2HBX/Esx1W92+b0XZm0aMfHWOx6 SIgXENSgt5jeEfj0Q7cl5i80zEIydNfufr+g5I3Shpyf6iGvvBm26l3IRXaMRc0qLzts PhvVyGDG1Xhvy9/Xig7lQA8aNyzHJnaKsi/weateUZ8hylrZXIcUC05+NzT8M7TD5ghX u7hRks/DB+43PgDX6T19CckwuhQn0tc0+mNeyib3HwUIFVtyWDjNCUNQcjnRZCP91sJj bo+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=L/u1jz2ZjO59G/mhMy7DaW6H5SexRSSBkWhXcv0LO1E=; b=YzqqfPl3q677QQztwuzIEyf00hxhUxX/vXRawZEdxtsQCndz0c6jK8mCEy1wuu5XKl fQURVJsC1Z1PGCP6GTQUjnnQEwlh9fqUpA2YUtnV/NAW2Qe7tqt6+4215wUJ+CBZL1Xf iyPHR3YuRI56eluQc/jnJlI4iyESzZYdK0TKWFdC8MjDaEwlEOBkm8wRTPuTPnLUrprW h3gpFOjg2n/DuCqamD2cRcDVBWlgDuql2XlzLx1QV88nvbAzXKd2YHggPm/b94YnAUHv N0XLfHpQFjA/QDIcqSBjQEL2bvhyXtrUwfzPs1HZyGtziLJ/gJGfppDpfXz5hmi0duGK R7UA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=MDonnBz3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f10si10171347pjp.94.2021.10.17.20.26.17; Sun, 17 Oct 2021 20:26:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=MDonnBz3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239684AbhJPDJ6 (ORCPT + 98 others); Fri, 15 Oct 2021 23:09:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239261AbhJPDJ5 (ORCPT ); Fri, 15 Oct 2021 23:09:57 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87268C061570 for ; Fri, 15 Oct 2021 20:07:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=L/u1jz2ZjO59G/mhMy7DaW6H5SexRSSBkWhXcv0LO1E=; b=MDonnBz3inA9Tp9tuI6qU3zMVD IyE9a8bRtLwlf/m8+wEXilOVmM2S2QDkOsV31B3u8DijPUNFYV4Cnz0gr5iDMwwFwqJAIBDb58vEn hzHKhnghtesjmycSzNjXJ2dZdPni1KU6pIVcBn/iSdNfkiXBMvdqg/I5ltbZUwmdjKjb5hn5/GNka FQsBT+ZLN0NiJSkiYGBa8J31U90I8dRKKvbP4tklIFYbcPHdKXTaooEkAa3qg/mbSRoUBx+OxfshE Icqz8zPUhWvufg3uYB9TI4rP8A2O9qBkxFD1cmpbf+JD7e+aVb4iKvsLpiDl0SO2bcujDG66WD1hg esGq55+Q==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mba0t-009RTm-Tc; Sat, 16 Oct 2021 03:05:53 +0000 Date: Sat, 16 Oct 2021 04:05:35 +0100 From: Matthew Wilcox To: Andrew Morton Cc: Huangzhaoyang , Johannes Weiner , Michal Hocko , Vladimir Davydov , Zhaoyang Huang , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm: skip current when memcg reclaim Message-ID: References: <1634278529-16983-1-git-send-email-huangzhaoyang@gmail.com> <20211015130035.aacc18a4d1ee141b306c2272@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211015130035.aacc18a4d1ee141b306c2272@linux-foundation.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 15, 2021 at 01:00:35PM -0700, Andrew Morton wrote: > On Fri, 15 Oct 2021 14:15:29 +0800 Huangzhaoyang wrote: > > > From: Zhaoyang Huang > > > > Sibling thread of the same process could refault the reclaimed pages > > in the same time, which would be typical in None global reclaim and > > introduce thrashing. > > "None" -> "node", I assume? I think that's "non-global", ie memcg based.