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 X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3A649C10F14 for ; Tue, 15 Oct 2019 13:53:53 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id F32DF21928 for ; Tue, 15 Oct 2019 13:53:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=cmpxchg-org.20150623.gappssmtp.com header.i=@cmpxchg-org.20150623.gappssmtp.com header.b="y5eyFIzU" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F32DF21928 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cmpxchg.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id A2E0D8E0005; Tue, 15 Oct 2019 09:53:52 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 9DF398E0001; Tue, 15 Oct 2019 09:53:52 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8CDD78E0005; Tue, 15 Oct 2019 09:53:52 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0025.hostedemail.com [216.40.44.25]) by kanga.kvack.org (Postfix) with ESMTP id 6BE648E0001 for ; Tue, 15 Oct 2019 09:53:52 -0400 (EDT) Received: from smtpin15.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with SMTP id F2DE28148DD3 for ; Tue, 15 Oct 2019 13:53:51 +0000 (UTC) X-FDA: 76046162262.15.bean20_5bdd8858d9f37 X-HE-Tag: bean20_5bdd8858d9f37 X-Filterd-Recvd-Size: 3709 Received: from mail-qt1-f195.google.com (mail-qt1-f195.google.com [209.85.160.195]) by imf22.hostedemail.com (Postfix) with ESMTP for ; Tue, 15 Oct 2019 13:53:51 +0000 (UTC) Received: by mail-qt1-f195.google.com with SMTP id m15so30688246qtq.2 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=tEc9352tOK+qwMP5WOrPQOZtq7gaOFdZejjM8oY7n/xSP9HHbV2J62C397zaDCHggF /lC6PcfirfvwuqBaT9i7b1kFZ7cCXZujdpXtOb4UkKCnekCGp7i/68of8pzbFm2RGuvM 5uWo96HLpuMY7iJ74wjFSNPSV6NaCur3oxVP/IwmfmQB+9f+WKGYb01R4/8jq6XcqYFF cw1rSIfzCi29TS0REfIap/zPAb3WKvn7x+5OPEZlaTtDquobme7+6G4DA5APLXUhHmIQ xdsWiK6cupUvPfxYp1d8S/7Vmn7v17uQlDPfP2knoP4Fho5bYOwnXMWOOgjc3V//NSMA 7Ceg== X-Gm-Message-State: APjAAAV59dtj2eY+Xr/MLbweYo6dp2DCl2E+rt0kGQRjoaiUAzG4P6ew a6mD5mdKrWjncfjvJ1uGuR3iBA== X-Google-Smtp-Source: APXvYqyhlPRXzOnBK2H9VoOhhErMUW+uFAJUl6CEm6oB8pyKripwSp26aw+YsSeqMP5Lxhsfcz7ugA== 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) 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 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