Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp113175ybx; Wed, 30 Oct 2019 12:10:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqwzLrk2Mpr3p61cpRiW3+V5NnLyJLwXLtgrb/rWujrz+rx5O8E9/cswD9U1DqZJ4JIY8Tfy X-Received: by 2002:a17:906:86c2:: with SMTP id j2mr1193113ejy.198.1572462612631; Wed, 30 Oct 2019 12:10:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572462612; cv=none; d=google.com; s=arc-20160816; b=VwwjokrSNKv53FnwuHroX2vhxDf114jH/t6EOYIMcXNphFoF8ssaU2HPFOMQvv06FF hiH4YQhUXz43tFa4+QQPHBaKq8S9k+Ks5xPTlqT78jbo/jP1MHLv/zRG/s/eHm//q7is BGZEQ5TKVpN/R/hDITqAnVglaLCac6UvYACyYvwiCLuA5HG1FE4+pPnFuqXyW4tG8eOg GKaGrKskMPRc89yf/tWbR2MKHJCERKxwkOPApmE4ySYZhd2Ho0MxBnJtUzkq6FEBBrji MbyzalGq8l+kmD9toQZx1uO6mHwSKXlSxZp9oC8cZhx41nsm1L34mEtF3oghz5iSlY4G wcQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=IAmQqO4bjeMP8pqof8/ZbpdZpz2QFcPnCQfgAz9Gnck=; b=cyt8prphE3YWwbc4HqHZ9PfM+QBlwclFoYiB1L1GUtPMcBFOGvN4L23nEsEeZi6bqV oXujI5GsSLzSlF8Nm9408cAKdG8lB8JR6S5mDyp+7aWNEO4/RKGnDHFBBTbUffmJYYq5 lKDnnMVTmW/OuEHtLyh2ve56TagQm25dGc2TqzDqBNaxyOKoWTjQ7nM410vt/08nurgo 0BHpfQV1PF6gT7fAZJs6cebmV8KJl353oehsc5/k5ZT6OvpCX7ZNg0jrvXN8QUskAuUh RHca731TnHC3P5YZ238FxT8Z9HCgnOUUHl+Gx6wGOOfThXD//7BkMOXYPEUblk7Wk0sJ f/1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cmpxchg-org.20150623.gappssmtp.com header.s=20150623 header.b=mtx4zkyH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t1si1833142eju.132.2019.10.30.12.09.48; Wed, 30 Oct 2019 12:10:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@cmpxchg-org.20150623.gappssmtp.com header.s=20150623 header.b=mtx4zkyH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727805AbfJ3SHC (ORCPT + 99 others); Wed, 30 Oct 2019 14:07:02 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:33987 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727657AbfJ3SHB (ORCPT ); Wed, 30 Oct 2019 14:07:01 -0400 Received: by mail-pg1-f193.google.com with SMTP id e4so2001146pgs.1 for ; Wed, 30 Oct 2019 11:07:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpxchg-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=IAmQqO4bjeMP8pqof8/ZbpdZpz2QFcPnCQfgAz9Gnck=; b=mtx4zkyH5XIQgQbFqvvhGqBLpk59n9jvsGvwkO1VfmeSBi1fZTkm2jd/OJyjYb00UW s0eLLTypHsbreDef1db4Dqq/lLcoO7Y1Ijt4HNbZ+EeUGjZagKB9q7s2x6NaipcKhgx9 4WhVOz5bRE5CSJI+LSDVZQr8gKMXGq4mhuGp3lThS3s7dZss+t7ixyPJXf19hzBOb0YI +ygYN0b1im2IVF2DbaB+QnHeBvBIZR00xvvEzU3MYvlmxAL9WkJsrGX3Cyc2l6CSlvE8 qU59DasqpWmvC1rofTblT3lxM1r1aBj7PmMqmcv29+qRc0d/PeGv1uLHDUQB8T6MRMGg 1M8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=IAmQqO4bjeMP8pqof8/ZbpdZpz2QFcPnCQfgAz9Gnck=; b=AveBcpYuDSR519PUMoHvInjULKs/+7NF5ogj6KJQ7w6X2PoPY2fC5fz5dKr7yYp7kA YkYDOw0s2xavZ1PgdjNkOQLMynKAhqmiQpeuENUkj1NWK0CtggB81H/XsXe5j/i6erG0 jDf3tXjD4lYXyzY4FNkxU+LajuDx+hTFdjKOozYGPnjRzZ6HcyWKeHwDvEd6kwFEKWMc 7mRBFbUtaiKgiEvLhs+nAQ/cwr/tPEiPDBRoO92xKKG4updQ8k2e0h+lAHYukf4kB3Zl AZFPOxKZkxZZ+JbD1l5DAbXxkPjiPaVN35ISyYQmlDeeQLLZ25maJOy59hSYKgYxjf/Z udBg== X-Gm-Message-State: APjAAAWVpEb0I3RJYnKepmX1Yh5YR9xJprGQuDhy8VqsDvRbqve0a+F6 BOUo6ArcDwirQQNJUTf4FYfzhQ== X-Received: by 2002:a63:352:: with SMTP id 79mr853183pgd.4.1572458820720; Wed, 30 Oct 2019 11:07:00 -0700 (PDT) Received: from localhost ([2620:10d:c090:180::78bd]) by smtp.gmail.com with ESMTPSA id c128sm573645pfc.166.2019.10.30.11.06.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2019 11:07:00 -0700 (PDT) Date: Wed, 30 Oct 2019 14:06:58 -0400 From: Johannes Weiner To: Michal Hocko Cc: Shakeel Butt , Greg Thelen , Roman Gushchin , Andrew Morton , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, syzbot+13f93c99c06988391efe@syzkaller.appspotmail.com Subject: Re: [PATCH] mm: vmscan: memcontrol: remove mem_cgroup_select_victim_node() Message-ID: <20191030180658.GA46103@cmpxchg.org> References: <20191029234753.224143-1-shakeelb@google.com> <20191030174455.GA45135@cmpxchg.org> <20191030175302.GM31513@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191030175302.GM31513@dhcp22.suse.cz> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 30, 2019 at 06:53:02PM +0100, Michal Hocko wrote: > On Wed 30-10-19 13:44:55, Johannes Weiner wrote: > > Also, I think we should use sc.gfp_mask & ~__GFP_THISNODE, so that > > allocations with a physical node preference still do node-agnostic > > reclaim for the purpose of cgroup accounting. > > Do not we exclude that by GFP_RECLAIM_MASK already? My bad, you're right. Scratch that, then. Thanks.