Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp595880iob; Wed, 18 May 2022 08:48:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyifMiUO7N0k7HnHHhXNPDW9T+PX7Fu89eEeLQjlSP8gYMmB0MXZiqILbZ0qKOy9n4ncpNX X-Received: by 2002:a17:902:eccf:b0:161:d2d0:72d2 with SMTP id a15-20020a170902eccf00b00161d2d072d2mr280314plh.167.1652888912913; Wed, 18 May 2022 08:48:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652888912; cv=none; d=google.com; s=arc-20160816; b=kDOglebdpZ8BFYAa0fIsDwTFtVYCGs9kHQzH5CbX/xLXaVBwD+gp/DNC9OJd7jxupL mppT1p2ypG+UR+qqwHR4lkg6+JllSnpN0/q8eADOPM2EKH7ne7jBhrB3Bi9nUelEcBub eOgB4VYdCy8y38Gnxn7Hyzpe6DC/l1abwwRVKtZAk++Nqwb6QBmjkVcsv16bUDWEdCyN ldjFtZRi4BIqApyR5THJvABTW9duY1eJok1qU6YDXtGQqRztUTGBJK6hJwHKzCoBKs8A ZCTwHhBa0lvkLdQoD8snySocT+9SxKAspI6K58mVVVZfqx0lkXqgXZokVXuV9JwkUsjn wWow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=lUuJK4eL9+OrReBYOWwXyTY//4zqDis40btPse6/uis=; b=bZ4NzuD2hcy2jpQwdi6TeV582vKFjy0lRaQ0O59oDLiZ/X5N4VFQ35x0ucLKDcOVXJ lSiN4lwEQo2uiFWz74xiinleN8NooFwDNFYZGjLANNTbrCbesBhzOP5BzfXEFAXFTuwU KspDN4y9/Ja7mVcmHtNwM5+ouEg2lfaeqBlzXDNOiQpOqHR0/dbsGyljQbIbRswwBqA3 8xrQ1ZRfzuurP3FwMWiDrrdHFmo8LmkwuxXTw1d1JHEDj6p69mO0nzIuTPwoizMalv2z HKDPuqoPvRmS5Uu8MKsKjTIl232ws4YMxLvgGEYk5t9YHCQ5UERQpkmwYUPHJv4YdJwU 4DOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=FI5Sy3NW; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id bj8-20020a056a02018800b003db25584b0bsi3153922pgb.92.2022.05.18.08.48.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 08:48:32 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=FI5Sy3NW; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4D051BA9B7; Wed, 18 May 2022 08:41:38 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239516AbiERPk4 (ORCPT + 99 others); Wed, 18 May 2022 11:40:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239478AbiERPkx (ORCPT ); Wed, 18 May 2022 11:40:53 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 800B32CE11; Wed, 18 May 2022 08:40:48 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 26C1121B7D; Wed, 18 May 2022 15:40:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1652888447; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lUuJK4eL9+OrReBYOWwXyTY//4zqDis40btPse6/uis=; b=FI5Sy3NWkxOrgF+oYW8rHSuu2CTrRYidOfq7exPfxbLF4Qkrsd1N8W/xnoeEyD2pIq03Iy 75Y0dEF6IU3IyPEy/u1XmdxrAQybITgPqa3eVA2Lle1Xs6B5mJzje0n5/56J+/t1UioIh1 oIKfIkBBwT/U06IqQASwRYrKecBO6jQ= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id EAB0413A6D; Wed, 18 May 2022 15:40:46 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id w3xROH4ThWJDUgAAMHmgww (envelope-from ); Wed, 18 May 2022 15:40:46 +0000 From: =?UTF-8?q?Michal=20Koutn=C3=BD?= To: cgroups@vger.kernel.org, linux-mm@kvack.org Cc: Johannes Weiner , Michal Hocko , Roman Gushchin , Shakeel Butt , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Richard Palethorpe Subject: [PATCH 0/4] memcontrol selftests fixups Date: Wed, 18 May 2022 17:40:33 +0200 Message-Id: <20220518154037.18819-1-mkoutny@suse.com> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello. I'm just flushing the simple patches to make memcontrol selftests check the events behavior we had consensus about (test_memcg_low fails). (I've dropped to goto macros for now.) (test_memcg_reclaim, test_memcg_swap_max fail for me now but it's present even before the refactoring.) The only bigger change is adjustment of the protected values to make tests succeed with the given tolerance. It's based on mm-stable [1] commit e240ac52f7da. AFAIC, the fixup and partial reverts may be folded into respective commits. Let me know if it should be (re)based on something else. Thanks, Michal [1] https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git/log/tools/testing/selftests/cgroup?h=mm-stable Michal Koutný (4): selftests: memcg: Fix compilation selftests: memcg: Expect no low events in unprotected sibling selftests: memcg: Adjust expected reclaim values of protected cgroups selftests: memcg: Remove protection from top level memcg .../selftests/cgroup/test_memcontrol.c | 59 +++++++++---------- 1 file changed, 29 insertions(+), 30 deletions(-) -- 2.35.3