Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp5912628ybp; Tue, 15 Oct 2019 06:57:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqwIRFxSSxYRYa5fZKxZs2u2UOo/HuOJvDubeyzStsdjDk6SMyCjlGSs6KT60I0IVTu+qoWY X-Received: by 2002:a50:fc82:: with SMTP id f2mr33509837edq.262.1571147877163; Tue, 15 Oct 2019 06:57:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571147877; cv=none; d=google.com; s=arc-20160816; b=Z6gfh7vv/Eo35eSvKiwpDY8Z+44R3q0I4gurt2EnVKzVejCRLzgEtArQIUSUM9jMQn aneorHZfLRngkKp2Jzi2L6ZThfTht7rGeG9YIiuHBqixeXZ5Qz/eJnI1pQYPV+GInh6G CzCQmi7cxWhAykYdVy6ZTky3C9ifBPZcNfKqdnAIzgP5XNEdR7AgUrHEVgnimhBfhJ7g VobI4FX+9puTJGcJl+Jizn7ohfyN3DhfJp50emo6ZJAedYcRFMRNsERzQH93hG00jxvv +GUHVyvzxjyC98Kxxu/zDL0RygJihFLkeNOI/TRq8DBbLf7s7GVfuV+tLtP5Cm8af1Ov 5Nug== 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=rdFD1ySM7snbTlYVusRsUK5w8tupUNVkhhCAYZ7l2Pc=; b=kj0vHZB+jUHBz7ibjzO4GzPZs12bRaoHrpN2Q8MwGRGYOv59yx9emAtAgbgXHCr+LY ifmotcsssIjvKGpp/s3XpVHqiYnzb83NWghlKYtn/LmBwJbbLGFTdLf2TGQ0DU5FpYYw zm6naVtsAHqo++BI3oIDHDFoB0cOPdejIzlbbi+4qyvqa9MG0XBRa9fEp+r0BE/Z4WTq cr6Dky2yBer//99YR2bWsqNAlTiAx5tZHh4whfimI6ufQVPkPYEcxTd4SkDpYROWiP1N N75tbCImjzu3EZv4AWZG1R0W5tgo1BCsiPkLjm08zzh/ksPVhrjh0d+ZoxUIpxvaL/zl BFPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cmpxchg-org.20150623.gappssmtp.com header.s=20150623 header.b=y5eyFIzU; 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 90si16762407edj.72.2019.10.15.06.57.32; Tue, 15 Oct 2019 06:57:57 -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=y5eyFIzU; 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 S1732247AbfJONxv (ORCPT + 99 others); Tue, 15 Oct 2019 09:53:51 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:34583 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732239AbfJONxv (ORCPT ); Tue, 15 Oct 2019 09:53:51 -0400 Received: by mail-qt1-f194.google.com with SMTP id 3so30709893qta.1 for ; Tue, 15 Oct 2019 06:53:50 -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=rdFD1ySM7snbTlYVusRsUK5w8tupUNVkhhCAYZ7l2Pc=; b=y5eyFIzUZPf7JNQjTnetQoWn3BAyiwEjxA5Z4qE2NKrnEC5SXIMN2+3NTw9lnNtQpl 8jXl1nYoG97Myed+YXA4VidWTzzkb728WjXDdyiTxMAnQnJCgfOxgYm+hXr813ku/ApS D/V/R44Njsqn3oEV6/kJ7kxFhqWh4qQzvA/G0IpIq0MYI9ymag/1KcZjH4FecF15gYer FWTe0oBPGVvjex692yOemBosnoB8ax+5iL9DTQF+3g1QQvhV+wm+0euRJZqpsxIc5fHh t7R60n9eCfBoflqA7J0pr4mOMAlD6cCJW5kjSZJkYio+WNor05cV2ad46SLhRD6o/TXk 48kw== 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=rdFD1ySM7snbTlYVusRsUK5w8tupUNVkhhCAYZ7l2Pc=; b=jFjMPQvqjk/fOVMZgRPWeMbJEA0j2eag6F97BTzmrWmpj+PIa+SxVgAsoKBKurJ1M3 MDiKdtStGaA3W6IzPe0IhJlKjyq841O1Z5jPBntMyPLMMXf7bJxHKFMRqvtmX0Qqaa3l NO490Kd1uCxMG78Z9EPQdRv3hiok8CKoE5yFp/T1L/Q/lSWbCV/95agOvsOQpDBIKlQN C1zMRn5nDFPdmDCZhjWv9kdhIX0MMMRkt5movbc8fuKmL3QDQzro4q0usAkr59hiw+ZH 20gMohSSS1rJUryoA0A86O+lnlW0yEIqIz7XqMQPCoP3xybTYdRRkYX7zb9hXcyXJnxN fk0A== X-Gm-Message-State: APjAAAWyd6UL3QJhF/L9s5IJG+u7xMmDPaFyFUdathCZNeCpukI2Gc0i h7b4eHTHNNFc5KRpf+su6yrAIg== X-Received: by 2002:a0c:b068:: with SMTP id l37mr28886665qvc.36.1571147630166; Tue, 15 Oct 2019 06:53:50 -0700 (PDT) Received: from localhost ([2620:10d:c091:500::3:d056]) by smtp.gmail.com with ESMTPSA id t17sm14675129qtt.57.2019.10.15.06.53.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Oct 2019 06:53:49 -0700 (PDT) Date: Tue, 15 Oct 2019 09:53:48 -0400 From: Johannes Weiner To: Konstantin Khlebnikov Cc: linux-mm@kvack.org, Andrew Morton , linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, Michal Hocko , Vladimir Davydov Subject: Re: [PATCH] mm/memcontrol: update lruvec counters in mem_cgroup_move_account Message-ID: <20191015135348.GA139269@cmpxchg.org> References: <157112699975.7360.1062614888388489788.stgit@buzz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <157112699975.7360.1062614888388489788.stgit@buzz> 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 Tue, Oct 15, 2019 at 11:09:59AM +0300, Konstantin Khlebnikov wrote: > Mapped, dirty and writeback pages are also counted in per-lruvec stats. > These counters needs update when page is moved between cgroups. > > Fixes: 00f3ca2c2d66 ("mm: memcontrol: per-lruvec stats infrastructure") > Signed-off-by: Konstantin Khlebnikov Acked-by: Johannes Weiner Please mention in the changelog that currently is nobody *consuming* the lruvec versions of these counters and that there is no user-visible effect. Thanks