Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1800511pxk; Tue, 1 Sep 2020 08:07:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7rD3+eS2aILzdcSu3eoGVEKvTT78vjPZIvTCEJSy6JUdpC2Lx1Zp3an/O1wFkG947mv+I X-Received: by 2002:a17:906:a293:: with SMTP id i19mr1919020ejz.523.1598972867161; Tue, 01 Sep 2020 08:07:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598972867; cv=none; d=google.com; s=arc-20160816; b=X4MILccgwUQX2bp6x10wViiIdP5TFyQG4kYsSJnwivskhYyx4o+BzB+T6Ofo4jMXQY 2wm7ssit+Zb3JcauDOlmp/zARdc7cLiK9xtgwCiw4NBMWg+eESocjUPiI2cSjFxl0u6i iXF622cnEbjfFbfHSPPITm/xGZPGiM5MhwdP3D4sUSmmVq1c6/og+Ql+LmCpkXaCoDir 04S/ACstq3GWD1XKD5DCtHhlYj7EI3kVLrZrCFpZ98Im938zQm/JwB3WT+jnXEqXRb6a Vm8ofUTpEGyWJ0BkVpPJjYmf2C+IpHzKXOXn5KHefRRte3PY+IM8eKjiBUQ+6PgqgNal 1v5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=mAaL6U+iakwGOs+fKr9GVAdl6EHOJaIxZ7vvSFP7iy4=; b=CvHdSTGeBced6jLZ3ihsVmSQWKiOB1p6z3WUVGMYtmjtKsG4rOHFotLiaREuwOHaEN j9W4xztOgOYK5UgitMe7SUsLMQ+LzbMRGz2HE5pBvTaCciBp/RDzbdZFum8ju0i4P7xO iq/RQPTrHwA4rk0Kk2gsgtcB6yDzP7qMkhALl4vh4mvBIH2uUNskeGzANRr3n/a/2Xrw 5d5ox+Mxkvq/KlriypDX/TPW3ttkZXzRVCrU6IxN1HiClYs8kD26jPMuQpWPDhrWS0Ez GhplXKNxolLIGXRJoxNJipn/sX7DNgm0C2TEIUcmzC7oxW9IpKnpvOgoWDtS16FXlPXY VbDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cmpxchg-org.20150623.gappssmtp.com header.s=20150623 header.b=QSlvYWiA; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bu14si649203edb.128.2020.09.01.08.07.23; Tue, 01 Sep 2020 08:07:47 -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=@cmpxchg-org.20150623.gappssmtp.com header.s=20150623 header.b=QSlvYWiA; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728589AbgIAPDw (ORCPT + 99 others); Tue, 1 Sep 2020 11:03:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726285AbgIAPDt (ORCPT ); Tue, 1 Sep 2020 11:03:49 -0400 Received: from mail-qt1-x841.google.com (mail-qt1-x841.google.com [IPv6:2607:f8b0:4864:20::841]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 649ACC061244 for ; Tue, 1 Sep 2020 08:03:49 -0700 (PDT) Received: by mail-qt1-x841.google.com with SMTP id d27so1112333qtg.4 for ; Tue, 01 Sep 2020 08:03:49 -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; bh=mAaL6U+iakwGOs+fKr9GVAdl6EHOJaIxZ7vvSFP7iy4=; b=QSlvYWiApz3Il7TzqFB1RZN0q7RWIwkf5QFz7RNkzlO+xImve52k6f+ehFMq4/w1+2 zGfYq/J/yn1WLm1/nerm9ZFIcBt9/aMtnrc4is0GNCBmR1gLKui/4PSJTm+KF8St48kS kCpHlHeOQf+F+xrvfkYYAFeZDgUosGYBaSkSeZWXRVKKIp+E7vgt8D6VzlxFKpXBkCi5 6vokKRH5obxIM3wov/h7MeIAyGdI4EWOPPyLFoG0YFf8JrTfshxGr7viaB/R/Gi12gKQ VzPDKb7+RQkpyvxykXHJ/rcMXnf28rZVX0VUzRl7OdcwNyphjQ5LxOwG7fT3tbz9hDnU GgzQ== 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; bh=mAaL6U+iakwGOs+fKr9GVAdl6EHOJaIxZ7vvSFP7iy4=; b=gu0tHS9VQjaSHtrHExS2qwX0FU09A5IS842qMhigH2TJH5ZwkwevD/IxbnuKK1xI6U M0IKMxBCwmrg5ioBBZ01nMxTuManIS/ut+kfXPoz4MC53tIJZjXJw6MA80WDzGu+f6FV a5CJnk+YJ50tP/hfjGXXSs6TDl3df6tt87NYrQ5zPeSJOEiAZadEWlQ3ch0rJRBvVqR1 cfdMxTnXHK4D4jzbLyFg9YcBHRjnv9F20ku1Q6MJ/yl3z9wfmCoaAOaJYuWYEWq7+Y5N rIcHZiwtGXS+FvT239GmufWTN1+pGOUmakAzh925+mCLWDL01QInIeHycow+Y4GJIGXl xSuQ== X-Gm-Message-State: AOAM5314AOngUSO43MFlkqQGtJDDcLBLnIn7AGqR1Dyi8gz1GIEawBtN 4VmSzhiBzd9YefNYM3b5UA4isw== X-Received: by 2002:aed:362a:: with SMTP id e39mr2192152qtb.121.1598972628686; Tue, 01 Sep 2020 08:03:48 -0700 (PDT) Received: from localhost ([2620:10d:c091:480::1:fc60]) by smtp.gmail.com with ESMTPSA id s20sm1852279qkg.65.2020.09.01.08.03.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Sep 2020 08:03:48 -0700 (PDT) Date: Tue, 1 Sep 2020 11:02:32 -0400 From: Johannes Weiner To: Hugh Dickins Cc: Andrew Morton , Alex Shi , Michal Hocko , Mike Kravetz , Shakeel Butt , Matthew Wilcox , Qian Cai , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 2/5] mm: migration of hugetlbfs page skip memcg Message-ID: <20200901150232.GB45118@cmpxchg.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Aug 30, 2020 at 02:01:30PM -0700, Hugh Dickins wrote: > hugetlbfs pages do not participate in memcg: so although they do find > most of migrate_page_states() useful, it would be better if they did > not call into mem_cgroup_migrate() - where Qian Cai reported that LTP's > move_pages12 triggers the warning in Alex Shi's prospective commit > "mm/memcg: warning on !memcg after readahead page charged". > > Signed-off-by: Hugh Dickins Acked-by: Johannes Weiner