From patchwork Wed May 1 10:06:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Usama Arif X-Patchwork-Id: 13650442 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 58296C4345F for ; Wed, 1 May 2024 10:06:27 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E771B6B00A4; Wed, 1 May 2024 06:06:26 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E00056B00A8; Wed, 1 May 2024 06:06:26 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C79FC6B00A9; Wed, 1 May 2024 06:06:26 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 9A8176B00A4 for ; Wed, 1 May 2024 06:06:26 -0400 (EDT) Received: from smtpin28.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 2D1C91207DE for ; Wed, 1 May 2024 10:06:26 +0000 (UTC) X-FDA: 82069397172.28.638BFC9 Received: from mail-io1-f52.google.com (mail-io1-f52.google.com [209.85.166.52]) by imf13.hostedemail.com (Postfix) with ESMTP id 9F7182001A for ; Wed, 1 May 2024 10:06:24 +0000 (UTC) Authentication-Results: imf13.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=UTV1FjoN; spf=pass (imf13.hostedemail.com: domain of usamaarif642@gmail.com designates 209.85.166.52 as permitted sender) smtp.mailfrom=usamaarif642@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1714557984; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=pZXj7eSXaYk4dnuJO+pveEloK4TRrLjEqP5dYE5AFqs=; b=0FQXKmYyMPkUzWbcdJOAD8er575hL9JbONdknAqnK3tF/HKrMCsBswxHC6vkSsuHiu1A9N odgnCpJF/CaXth4d/8EuvW+3Ewry17kV8WKAJ2Tv1ENK7JO23gt5UK+wjHYG7fVAN7UvFV AyF1B7swfG2XmtpAzninpkgo1/H846I= ARC-Authentication-Results: i=1; imf13.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=UTV1FjoN; spf=pass (imf13.hostedemail.com: domain of usamaarif642@gmail.com designates 209.85.166.52 as permitted sender) smtp.mailfrom=usamaarif642@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1714557984; a=rsa-sha256; cv=none; b=jwTzunNRzGIa/ZmMd77HRZZuZarVllLujtPjEVhLaxoR/otKUTCg/WRYcpRVBoWJwn9KJO BivNbl75FE+GqD6MDCcQzDwHlm7ffXQodaxuk9cMbfZ+Fsid7RJ7BsWnV6iIZ0zEjr9/FC mwRJd3ITx5JYZzLbJKOp9t0PY2+EcQ0= Received: by mail-io1-f52.google.com with SMTP id ca18e2360f4ac-7ded01aa1d2so136793139f.3 for ; Wed, 01 May 2024 03:06:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714557984; x=1715162784; darn=kvack.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=pZXj7eSXaYk4dnuJO+pveEloK4TRrLjEqP5dYE5AFqs=; b=UTV1FjoNOaZU3VFkiELwnL/UpOygGecf9QjTbD433FbpPE9IsVH6szZ9SF9pkvwBtU BPaDN3mQDKB2OYbP2fLt01Be7hhLzx/6nYGFW9lvVzf2wCrhUscOkiZc+UtdiY4EosF2 SaGXhsCUjfBA7X0L2+H+xCqhGuJedpy8YVYWBgdcGaJGcI9zC65D/7J7mh3NszKcfL1s NxgRgwdf/eWU0fB4tQEEiy/QbpKNLFZf8xEiWX8WXCMsUIebBcTKpA6II1ETK1VI+qgG xlQg/0JucOlcsyufrEfFxvi5iX4Ostow6fMAU1Oa9fhvtjI5OS/BiSitUkaq6VmXOuAY pnXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714557984; x=1715162784; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=pZXj7eSXaYk4dnuJO+pveEloK4TRrLjEqP5dYE5AFqs=; b=NF7h+M4GA/LxCGZqz4593wzAl/5T4Coqgs+x3bq0PILdqLGty8m1R/a+0YlXyqVtFe qNHkgBXOaTvKSVE8+XQLoZEj0zfv4PD+VChu35CZtNz0IZxGIMh5XNCgyhsCutsGIZxV cKci8hO+moAqKM+vE4CjzVDzCXNcDuAU1jXHX3a2qjF4tCM7cctykRjHFJp6xKBdQzAa nemuoS2zp5seJvcekjYEq4c9kIbak6xGD9GWbxU8B2+19C4/J++CI0ue/SkAs4ZfSADL m/GEjIymQ98q5lj9GEVNen8xO0vJ/LcXRQJ5Ng0Xm0sih2wX5KCxTStU7rcsEJVapraA uvZQ== X-Forwarded-Encrypted: i=1; AJvYcCVcLAgNdZx4eEfKCqRg3kvjPI31FiZQs8sksel6t2CePaO46gi80JhqgIWrornCZOoXpiUp0jnoXvmGOGbh1i1QXgU= X-Gm-Message-State: AOJu0YxrL+YOq/twfdIbP+WQTFbTDm0HlflLiSHbHjrkzz4jg35DynMX 8qe8SsV+hpHSJbxnwrm1sNEsdXpQUZfbEYQB+WkE+GSgUDT06iI7 X-Google-Smtp-Source: AGHT+IGz3sbaWmwjulc7e9dH0JVoaE5oOGqhdC7ibfj8fH/kLwaWmYw78sJP+BwnveLNdrhWz4WE8A== X-Received: by 2002:a05:6602:13d5:b0:7d5:e089:fb97 with SMTP id o21-20020a05660213d500b007d5e089fb97mr3216788iov.19.1714557983792; Wed, 01 May 2024 03:06:23 -0700 (PDT) Received: from localhost (fwdproxy-nao-011.fbsv.net. [2a03:2880:23ff:b::face:b00c]) by smtp.gmail.com with ESMTPSA id du12-20020a056638604c00b00482b2dc023esm8523357jab.18.2024.05.01.03.06.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 03:06:23 -0700 (PDT) From: Usama Arif To: akpm@linux-foundation.org Cc: hannes@cmpxchg.org, yosryahmed@google.com, nphamcs@gmail.com, chengming.zhou@linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org, kernel-team@meta.com, Usama Arif Subject: [PATCH] selftests: cgroup: remove redundant addition of memory controller Date: Wed, 1 May 2024 11:06:20 +0100 Message-ID: <20240501100620.1461685-1-usamaarif642@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Rspam-User: X-Rspamd-Queue-Id: 9F7182001A X-Rspamd-Server: rspam06 X-Stat-Signature: bxyd7fcinquebx3wiaxbjxya8rq9mp4i X-HE-Tag: 1714557984-942234 X-HE-Meta: U2FsdGVkX1/rwSdOxY+U4zWGB3qjipioHzUNaKzIV1tqNIVbDCsVYKzd6N/X7jhulGNo84DpgXL/QMzMP6ME2oM4/PyaEmvrcQJbMNjXGETgkvftdaVt1V0UyXUILTMsIssIb93PFBhKl3heO337Z9mTSnshWqu8WEzKP55Ej1rhVcpJedaYYEz1ldT3HqV1MlVuP5uatqMhVK1QIppZm+uWjIhv4hFYuLYCcAQq5+RW30JVj+1JBfncCLcpynblPrVq1sQQ9rLSJprD/22u2RjnRmDN5Cxs+DKdxwRtluMa/guNS+PSSlc2CF36fwY54Po94jpV0q0VIoWIBMHeLqOEze98bLeP0BCDMNrG191cb+rtnm+xjj9kdXl69VqgOWChuQAzFhjCXtaYVAIzIGAwtIOr5yfxyAAjnx7rjTDBJOx5s1nnFhOB0+AA9Q5eXZboz8pT0eYIPmYUogpd80cl2Yk+clwTTC8r3AaZgSp2A+0fXSytfDG26aY3IRKZAt47rmCmNzoSiq5qr/sxTWT5ziwT31flcNrE6iU3v/tLBRkt36WgMqx5K0ENoxZ8ogWnr/JXjXuiluCGa7tsbZLRUKMtv5E/MEvi5B1ENY29gPY1WEb8WVFPDS3yANficvGyGZIX9XsJY5DZNxcoaqliQFSNB0yEVcR7ptBdgeO/MDIEAh3UWy/4FxI3prJMwwkrCjO0u1F5o80l2lZeSithtwe99DNuVNvtTtFVT0utX8k0fOayYgGflIWYU9CsBzFWzvMF3CjXHfWvZoWj6PAWj4JOBV1H+G3LlDgj37Q50cpthf+FwOBHzbyOIb4nUyhBNIOGRyIdqBJiMDN7PK03CeX0jeZijpTsdyAHJCEaImn2sYzGxE8Nw7+sqPzyi7sn+sZFKtQ5T3+sImQmuKuWLX0DBVi9GgsTMIvR8LI7YakBM9qEc2N9PxJfsCxq8vUWRoK6i7WmOE3evs4 /W3o35Um x5XrVug2pqlNda5KO8nbSUqsvwfLRRPi0bxTuF4bUnFNEYaDBg4jKHJKzjYypjiMv33HRvnGu/9lBPcEHHnghT7JsvDXoeWdTr9fk68vq30oyBbE= X-Bogosity: Ham, tests=bogofilter, spamicity=0.161349, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: This is already done in main. Signed-off-by: Usama Arif --- tools/testing/selftests/cgroup/test_zswap.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/testing/selftests/cgroup/test_zswap.c b/tools/testing/selftests/cgroup/test_zswap.c index fe0e7221525c..22cf586d2438 100644 --- a/tools/testing/selftests/cgroup/test_zswap.c +++ b/tools/testing/selftests/cgroup/test_zswap.c @@ -445,8 +445,6 @@ static int test_no_kmem_bypass(const char *root) trigger_allocation_size = sys_info.totalram / 20; /* Set up test memcg */ - if (cg_write(root, "cgroup.subtree_control", "+memory")) - goto out; test_group = cg_name(root, "kmem_bypass_test"); if (!test_group) goto out;