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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A1A9CC433EF for ; Sat, 16 Oct 2021 03:07:28 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 347ED60295 for ; Sat, 16 Oct 2021 03:07:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 347ED60295 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id ABF5D6B0071; Fri, 15 Oct 2021 23:07:27 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A6E016B0072; Fri, 15 Oct 2021 23:07:27 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 95D60900002; Fri, 15 Oct 2021 23:07:27 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0247.hostedemail.com [216.40.44.247]) by kanga.kvack.org (Postfix) with ESMTP id 861076B0071 for ; Fri, 15 Oct 2021 23:07:27 -0400 (EDT) Received: from smtpin19.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 47FEF1846CAB7 for ; Sat, 16 Oct 2021 03:07:27 +0000 (UTC) X-FDA: 78700814934.19.207DEB2 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf11.hostedemail.com (Postfix) with ESMTP id 97512F0000B3 for ; Sat, 16 Oct 2021 03:07:26 +0000 (UTC) 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> X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 97512F0000B3 X-Stat-Signature: uo1amh797oy68jcpi5xutxej6u7c65t1 Authentication-Results: imf11.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=MDonnBz3; dmarc=none; spf=none (imf11.hostedemail.com: domain of willy@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=willy@infradead.org X-HE-Tag: 1634353646-132194 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: 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.