Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1205854rdb; Tue, 30 Jan 2024 10:55:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IH7RAT2NRFc9E1o+/55f1jOO2Pww3QmStS5NeuPhj8a4kXS/xCrRWOgA8OpoPSnjaoIXGRA X-Received: by 2002:a17:902:7807:b0:1d8:e771:c40a with SMTP id p7-20020a170902780700b001d8e771c40amr4320956pll.14.1706640955257; Tue, 30 Jan 2024 10:55:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706640955; cv=pass; d=google.com; s=arc-20160816; b=um6gotGmc6rVkrGn+X82z1fC073ufdDCSVybyjQx/Oj9n0O0NtCDuJPjT7WtyA4NkF lCgoHHmmb7zlD81jw8S3Fq3Vod5VZMJN16OdMdzVAYPlM/X7lWdIFx4NlUhqCs6T5Jyg 812/2FsPMbr/JGPKIMuV+R7zUpoRxLApatMpzdDoiVfHm2JnPtbLcnKOyB49hVIgxdyx +Kxpn1VAxEDARBErx3BmuHlBj3e4DT/ZFGmyk/UFaPb5FzcdQnETeugxfySI59FeLTl6 /UhXfwxQpU/mFYT18He3bZBXeKoio09fXvALhIfXTZGeqP/e/o6cO9VhE3D/SVj0/KGI F5RQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :in-reply-to:date:dkim-signature; bh=Fv/bTQ1xMvf2SnP8rg7hnK7lCBHHXhYmdjHeTk9P6G8=; fh=y2rbHuwQIJ6HgaGf1qBx8r4Sahax21s2wt7mETU9nbM=; b=AIONYmCC/1nWrYR9uYDUSWJGELZbIIDTa4VtSd0wWCzii82AhEQECn1fOVHFGIaEMF V2NE/D6d8lUl3A71UcRH1tG//RDD71zoMIcAL1YxQyKm/a4z0jNSpaUV53qpThuNPB3w 1oFONMLgyfHa77cnTa/0V73XebZi87K31VYq52TlxTS8111UBlpHoTW1uSDiRxRVo+k7 YobZ8B+oAK9u1/laDIG/8B9T6QW/gGy+dwfjdFzxzmP8QgIl4Dx0X0dvZjwUJnTq0fvl 6M2jhMmkZ5RFU+KYbLhax7PaG2Q8vYZEl+AskkhY1OZbaTp6YhxRs9X7shDcgGHr8wAO Vh7A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=F8yIP0wd; arc=pass (i=1 spf=pass spfdomain=flex--yosryahmed.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-45147-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45147-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id lm22-20020a056a003c9600b006de140876a4si5887646pfb.140.2024.01.30.10.55.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 10:55:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45147-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=F8yIP0wd; arc=pass (i=1 spf=pass spfdomain=flex--yosryahmed.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-45147-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45147-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E47B3285A3D for ; Tue, 30 Jan 2024 18:55:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B51757993A; Tue, 30 Jan 2024 18:55:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="F8yIP0wd" Received: from mail-yb1-f202.google.com (mail-yb1-f202.google.com [209.85.219.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 84A0D69DFC for ; Tue, 30 Jan 2024 18:55:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706640947; cv=none; b=nqiyM2YhqZOCLnFtgJMnNEf/4f35kN9shF+dBJyeVb37yoW36E+AHKoZ82Wrf8tqFFm4yS3EnA7B/wR3QC6Z9LHx/H1PmagwJDlRW3Uthu9gC2LlDcJUiRzeHeeeWVSRad04EFVkOVBOjrzL3ee/yTYYpawPU0/VnqUPEKBCSeg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706640947; c=relaxed/simple; bh=Fv/bTQ1xMvf2SnP8rg7hnK7lCBHHXhYmdjHeTk9P6G8=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=CXPw4vbd8oG+DxVVpF78GWfVGhxEPgBwZrTxnMpbKTsskO9R8kGEDm7iJRobpSidL4MDe6OFJzfKYO5ksZ2Q2nYPDB3URMwc3ZzQW7HQ0aiENSIM7zxu2y/JirmC1H7/SO4zxLaytra3AGV2EGz9p6pK13BUK4gTM96wsrB/y6E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--yosryahmed.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=F8yIP0wd; arc=none smtp.client-ip=209.85.219.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--yosryahmed.bounces.google.com Received: by mail-yb1-f202.google.com with SMTP id 3f1490d57ef6-dc6531fa07fso6507628276.2 for ; Tue, 30 Jan 2024 10:55:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1706640945; x=1707245745; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:from:to:cc:subject:date:message-id :reply-to; bh=Fv/bTQ1xMvf2SnP8rg7hnK7lCBHHXhYmdjHeTk9P6G8=; b=F8yIP0wdLqMQSIeRBUEeIKuMOFHz1mm/OScxL0vyxE5sZq4r1RIyxh2vUQ07+XwGzK aa0MKae9HfTMjR5RWxvl7LDtnxmOfppJIoMBsRpODsvwsEtrmqg2rXCR18Ouhc/TZDEe AVNPo8ocP8wITgzabtV9JChleFPotYWMxab43OpIVobw144/4KM5OphvUkBnOYODKJeF rKjpl2OUeDNtHA0QxJ44BPBlj/WCN+/iB/umCplAVjbCj30USI22yA6pGHlwaDOQsvy/ +h+5HDQGQxqnNU46BKs5HSNSBEnASzj5Z0lIWQKe9OWqstj9negPcP2ah0a/p+QFOnoR fXtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706640945; x=1707245745; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=Fv/bTQ1xMvf2SnP8rg7hnK7lCBHHXhYmdjHeTk9P6G8=; b=wlXlmLDv28cS3DNlLRyPESOeX5coJkaEBDve/E748w+VByhE+laODO9ZeEKttShecR VWpxq53vOlG+a0H/z3P1kFkD6OOM3jdayNgvzsUTTe24exxAG7rnWzoZAA7wIcmDcQJC D8gfm5ryUDNVc1Bz6aDjet04T3anEtuQzLCDesHXr9cWDBwLP1lOfMUiEtX62iw/a7MW D3/m1xVtS0Yu0KW8GUc0ClggkVWIT4Wc56FrSLGaTqMaj/zk68/ngQl+EWxbqta5PfXc F9m8J/QXeQlrBzAEVE5qKB2t0uIrPdIW0F0yDomqGpKnKxC0uqbLIiirduYCt2YFtCEr txZg== X-Gm-Message-State: AOJu0YxZK41bPjIL5ZA9VA0xwDdPiH4X4lAPK63eQTuG9rp/XobDApYr eGKHpwjwwoJMhRqKtck1lS0FxDctEoi6zpAd2fHDS6VS8Ah50r5z2Y8hY8MdNeV086Yc06p58zM xO+U0aCYV2KZPABCAug== X-Received: from yosry.c.googlers.com ([fda3:e722:ac3:cc00:20:ed76:c0a8:29b4]) (user=yosryahmed job=sendgmr) by 2002:a05:6902:2406:b0:dc2:260b:64d9 with SMTP id dr6-20020a056902240600b00dc2260b64d9mr576357ybb.10.1706640945579; Tue, 30 Jan 2024 10:55:45 -0800 (PST) Date: Tue, 30 Jan 2024 18:55:43 +0000 In-Reply-To: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240129224542.162599-1-nphamcs@gmail.com> <20240129224542.162599-2-nphamcs@gmail.com> Message-ID: Subject: Re: [PATCH 1/3] selftests: zswap: add zswap selftest file to zswap maintainer entry From: Yosry Ahmed To: Nhat Pham Cc: akpm@linux-foundation.org, shuah@kernel.org, hannes@cmpxchg.org, tj@kernel.org, lizefan.x@bytedance.com, linux-mm@kvack.org, kernel-team@meta.com, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, linux-kselftest@vger.kernel.org Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Tue, Jan 30, 2024 at 10:37:15AM -0800, Nhat Pham wrote: > On Mon, Jan 29, 2024 at 5:02=E2=80=AFPM Yosry Ahmed wrote: > > > > On Mon, Jan 29, 2024 at 02:45:40PM -0800, Nhat Pham wrote: > > > Make it easier for contributors to find the zswap maintainers when th= ey > > > update the zswap tests. > > > > > > Signed-off-by: Nhat Pham > > > > I guess I had to check the zswap tests at some point :) >=20 > We sorely need more zswap tests :) >=20 > I'm one of the offenders of adding new features without including > tests, so no judging anyone of course, and admittedly zswap is quite > intertwined with other parts of MM, so it's kinda hard to write > unit-ish tests for zswap only. I often had to resort to scripting > stress tests to iron out bugs. >=20 > But there are still tests that we can write to verify public API > (cgroup's zswap options come to mind), simple tests that cover crucial > code paths, etc. that we should probably add in. At the very least > this can be a quick/sanity check for developing and backporting > patches into the production system. Agreed. I am yet to take a close look at the existing tests tbh, but I took a quick look before and there is room for improvement (and little bandwidth to act on it).