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=-18.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_IN_DEF_DKIM_WL autolearn=ham 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 29B4DC433E6 for ; Tue, 9 Feb 2021 13:48:59 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id A955064EE9 for ; Tue, 9 Feb 2021 13:48:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A955064EE9 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 0E19B6B006E; Tue, 9 Feb 2021 08:48:58 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 091C96B0072; Tue, 9 Feb 2021 08:48:58 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E9B6A6B0073; Tue, 9 Feb 2021 08:48:57 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0139.hostedemail.com [216.40.44.139]) by kanga.kvack.org (Postfix) with ESMTP id D0C566B006E for ; Tue, 9 Feb 2021 08:48:57 -0500 (EST) Received: from smtpin29.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 91B5E1802EFC7 for ; Tue, 9 Feb 2021 13:48:57 +0000 (UTC) X-FDA: 77798860314.29.pig97_230fccf27607 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin29.hostedemail.com (Postfix) with ESMTP id 7145E180868CE for ; Tue, 9 Feb 2021 13:48:57 +0000 (UTC) X-HE-Tag: pig97_230fccf27607 X-Filterd-Recvd-Size: 3372 Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) by imf17.hostedemail.com (Postfix) with ESMTP for ; Tue, 9 Feb 2021 13:48:56 +0000 (UTC) Received: by mail-lj1-f170.google.com with SMTP id u4so22345762ljh.6 for ; Tue, 09 Feb 2021 05:48:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=T6hyX38mFJ+6yDNoRa0BGXqLisY4Yt/Qs5tS4tQuLTM=; b=Lnr4Vpipr9eoHCBAXs0vIMZqnnLOPt5XJJY6hZEYAEXJLxFHjgBAEVv1hMRDeE70Zu SPfvjE9sH0FPF2chVvLMxOf68LUhxTq+qZ/JYFtOm/zKjaGbRZSyxuO/WEzk1e+/jPcf wa8p46aN3DkPxs0WMp+llHSAdjEt6ZVLeBHVZF0ydb4SyhCi7gM/XYPNq96BaVzTlZPO tnE+xKkoiZsZq8OWZR65+m4MG9uSN8HUF+c61TlJdXXZGZWuw9/X3h5jvYTJ/Ahv+vt5 2d00sw6ydU3gfg7oAsyhyneHfaFA/Tr92JOoGVJj5XskNx8aAQJ7euKvLBShn+SZXz9j VhNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=T6hyX38mFJ+6yDNoRa0BGXqLisY4Yt/Qs5tS4tQuLTM=; b=t9Qvm7Ih+U1nd2wJUKA8htpJOlwZmaD8+1gyNaCzFJOguMI3QrWAJ/zAYo9VzmibQ3 6jzVRPbS17aQBMS2mymdcrcMqaZBoenEwjidrDh0tE1YnMw23bkUAgY54JXnURTVQzx4 IYyNSTjtMXKtnZyuBaQ00Odu8ddqq9kSefqlFQzl34hqvyIkp0kFo89BDN7n7Hhd38RG odOfXrzDY5mld7piZEkE6DLBrViUDyHXEdiWwgRoGekFwDQKSy/xPmFBlK50GVW1t8C0 0/76I1f++ONmJ5OWOuC6JqhE5mOBCbl60ORtomdLMMPr1/XI3CDHrKEdVv3bMVS8WBOE PIhw== X-Gm-Message-State: AOAM531MecxbChT+91t+eU1+OzajebOXGPYSBIeLb30NpJOGFl89O4Cf 1qtofcMFjlGVT89qQiU9p9OVwfsjlM3G05EkJThhGg== X-Google-Smtp-Source: ABdhPJyLt44bzUjpu6Y8sHGTFfy5PZuO0xZAOmT/z6qaaoQpN60RFk8x0k4fYzlAfbSMW3PiuKVgCHpucU/OkVGtTwk= X-Received: by 2002:a2e:b165:: with SMTP id a5mr10040263ljm.81.1612878535285; Tue, 09 Feb 2021 05:48:55 -0800 (PST) MIME-Version: 1.0 References: <20210205182806.17220-1-hannes@cmpxchg.org> <20210205182806.17220-9-hannes@cmpxchg.org> In-Reply-To: <20210205182806.17220-9-hannes@cmpxchg.org> From: Shakeel Butt Date: Tue, 9 Feb 2021 05:48:44 -0800 Message-ID: Subject: Re: [PATCH 8/8] kselftests: cgroup: update kmem test for new vmstat implementation To: Johannes Weiner Cc: Andrew Morton , Tejun Heo , Michal Hocko , Roman Gushchin , Linux MM , Cgroups , LKML , Kernel Team Content-Type: text/plain; charset="UTF-8" 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, Feb 5, 2021 at 10:28 AM Johannes Weiner wrote: > > With memcg having switched to rstat, memory.stat output is precise. > Update the cgroup selftest to reflect the expectations and error > tolerances of the new implementation. > > Also add newly tracked types of memory to the memory.stat side of the > equation, since they're included in memory.current and could throw > false positives. > > Signed-off-by: Johannes Weiner Reviewed-by: Shakeel Butt