From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B95A5156F21 for ; Tue, 18 Jun 2024 18:12:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718734328; cv=none; b=Qqxvm6rJMqMU2GYYrX7sDM776pb5WWIyKtHIaPz7mhKO8QO4jLBcGt6oa0l3Ht24p+rBAypfZnuTGQChOXXM3IcExUY1jC9+utRWui/Ek43dS8YaDutURCSbIWRMpK7+w26y0t3DG6P+FCoBJPvBJ3S/hdYwPbZVcGvvwOcmYDs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718734328; c=relaxed/simple; bh=IXdeE+QqzdqXnm2D0O+a+mzum3bo71nGNtBdRrIJNs8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Pm2Q1Sbu8SA03HMUijw2cNeykmSu8C1k2lzePCKeMC8GyA6T3P/YqKvp3XH0tAIqEgbGHPpH0HcPV3o5tFiB+CkPe1EdiLhLNifzFg8lEVoMB2Y/ssSZBjxUeS7WCZ/R5iigm5pt1gSBnUsRCh5Vt1Q7g4O2cnpsWRTOfSezvnQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=TBLEfbP5; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="TBLEfbP5" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=Ms6dsRGCmKA3qmJt3eQ0xJRk1BsyRlFba7rL2lDbVCI=; b=TBLEfbP584b+APEYAXg9RjkHNs A9NwA3Vp2fjmnLTgcaim34o0ZUdx8qVY6+Sx3v3xq4CIzfPk2F4KFJq794xEzXfIjdhZl0HEQyB6h 5w5fSULZdoX/RLPbz+/WbTo7LzgcAhO+VBPBbKqRDy1KvGit0HVjFfweiCgpgrif2i/QLCR5PY94q 1IdR7x3uWdPvGO97OPD3Nj0Mabd0pbPwp4+IPWwOvTpQIPlSM37OzZSiQvbNK8p6G/hA9L7KNqBA+ aWV8lPlICzQIdt5AwF0t9pf+b/+ZOqWn/kM4U9j4R3T2xgpO7MQGSjDgorEVM4ZNU2hHS19ocMmZc lyWc+OzQ==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJdJH-0000000G9Ch-1hVZ; Tue, 18 Jun 2024 18:11:59 +0000 From: Luis Chamberlain To: mgorman@suse.de, jack@suse.cz, vbabka@suse.cz, dave@stgolabs.net, ziy@nvidia.com, yuzhao@google.com, jhubbard@nvidia.com, ryan.roberts@arm.com Cc: kdevops@lists.linux.dev, cl@os.amperecomputing.com, yang@os.amperecomputing.com, p.raghav@samsung.com, da.gomez@samsung.com, gost.dev@samsung.com, Luis Chamberlain Subject: [mmtests PATCH v4 0/2] mmtests: fix debian dependencies Date: Tue, 18 Jun 2024 11:11:56 -0700 Message-ID: <20240618181158.3848619-1-mcgrof@kernel.org> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Luis Chamberlain Mel, this is read for integration. PR: https://github.com/gormanm/mmtests/pull/26 All patches are properly reviewed and tested now. As mentioned at LSFMM 2024, I'm interested in helping expand thpchallenge-fio and automation fragmentation metrics on mmtests [0] on kdevops. My first bump on the road with mmtests was the old perl library on debian which no longer has a package. This provides a suitable replacement for it. Changes on this v4: - Just add Jan Kara's Reviewed-by on the first patch Changes on this v3: - Added Tested-by and Reviewed-by tags for the List::BinarySearch patch - Modified ldconfig to be called just once at the end of installing all packages, also avoid removing the print line to inform you that you have installed a package, as suggestd by Jan Kara. Changes on v2: - Moved routines to Stat.pm as suggested by Jan Kara - Removed unit tests, in favor for having unit tests and verifying correctness of the replacement in its own separate two git trees. One git tree which let's us expand unit tests which will run the tests against both libraries easily. And the other git tree to help us run the same tests against an unmodified library. - Fix a corner case Jan Kara picked up on, and added that case and more to the unit tests. [0] https://lore.kernel.org/all/ZkUOXQvVjXP1T6Nk@bombadil.infradead.org/ Luis Chamberlain (2): bin/install-depends: call ldconfig MMTests::Stat: replace List::BinarySearch README.md | 5 ++--- bin/install-depends | 6 +++++- bin/lib/MMTests/Stat.pm | 48 +++++++++++++++++++++++++++++++++++++++-- compare-kernels.sh | 5 ----- 4 files changed, 53 insertions(+), 11 deletions(-) -- 2.43.0