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 9B29C127E3F for ; Thu, 23 May 2024 22:56:00 +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=1716504962; cv=none; b=VNDFbNIUklPh1eHKqFacxJwMrQsYvQuS6+Kr/gJf8GzlmC64kAkeKoSzx5+CmnBfrSmmC9dDHE4Me2NuIoZQIPfwbvKpnQHrgGpZsU5SIFH7z4nO9g+NbTuAgI0iru2EI1b6tv7oBRoRJB+PjM3j3QMTzJEIKANEYbux30GSVOY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716504962; c=relaxed/simple; bh=C95ukqTbVQsdE/adXwrhhnIw04A3Br/7MJX4b+Gq014=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VihsvE3uZXQrT0Y9PRpT326fofbNxnT5/dYCZF5f5XwH/trgFfubRnOFO3OoWIyeTwtUixgRnMPyaBs/malPqGwd+wkc/fBy5idEk7ix4/DFCKg/R2Qayf/d+LFJB2vNCgUZEpZXi8F7j+lhz1WnS02qXww6x7df34m66RRlMVk= 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=ZgKk87VG; 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="ZgKk87VG" 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=ZKvFzpt+FL5TLkvFzRpBkbWt5dHEOHRKadbR0RIYHrU=; b=ZgKk87VGZOXh0bHsSOhvDYUKaF NUANiMOFP4ArY6PtV8ajzMowriXNdOSJZpkMEhofVtcVanpIczidWCuV2mZ/pC/+W85KXzB+pCaWd yJFZzRr6R6uSTQN+Ms+LQ5D2apIIxvvfdsAs1Lx2IdyexjdSNH+Lub9y+s7tvjRsuTNRQjr/3TWTA Ky4r6fQPAfOcOo2UN9pL+eQxnpwbRi8h9Gbmh4WwnBOxl1kfiFNnEoh03q3WerN95HjpFZNvIi3ad Yw/aK6NYg2J3JuxXq+N+Fm/wj4CZ6fceH8li0adInAcqFkQm34rjURjzIqdX7sHKaM/DJHk7R67/1 JOZ6uD3g==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1sAHLo-00000007W7o-2rEL; Thu, 23 May 2024 22:55:56 +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, p.raghav@samsung.com, da.gomez@samsung.com, gost.dev@samsung.com, Luis Chamberlain Subject: [mmtests RFT v2 0/2] mmtests: fix debian dependencies Date: Thu, 23 May 2024 15:55:53 -0700 Message-ID: <20240523225555.1791779-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 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 v2 since v1: - 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. PS. Should we have an mmtests vger list? [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, 52 insertions(+), 12 deletions(-) -- 2.43.0