Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp74630lqp; Tue, 11 Jun 2024 15:23:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUuROVdmsvE3yA1IxP4HSnvLTPXM/SJPEy++BniQDHy0AxnvtSzko7uLM/BOQ5+/JHWoJXBTz8Mhibwr0EcdNODLZwSQAmsEJN2fHVKgw== X-Google-Smtp-Source: AGHT+IHVWEeO+YAvxZbBRNXylgSN+Z87fqIMsvlzEMlVoDiQL1gWKlJIMzbe0Inii1AMRwbSBaTt X-Received: by 2002:a05:6358:6f85:b0:18d:6fba:d2f8 with SMTP id e5c5f4694b2df-19f69d310b2mr33051355d.13.1718144614922; Tue, 11 Jun 2024 15:23:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718144614; cv=pass; d=google.com; s=arc-20160816; b=BNdhaW0XOaee5v3/ESi6QJH0l6f0aM0nMtM/+lUt/8N65oWSuetOnRis203SC2CPWy Pq2n7DmYtuRA3jT3AlcovJcOkHXfM1vWPqZX1DR3/mF2DiE9Sy+EMmjex54v02muhfXY bjGFAL+vVG4Meorl244hc3vL8nNLXFX9TA8iXVD2yDluho7KGhv+u7Sv7+Hf1mQB/VzC 6nMbNFxftIGTn5AShuyrhZAq0bYNKL4qtn1rauiQ+w8/lrY/cxQ+REIE+KipKsUvtuu8 Zhr/6aMfOql8Ocv0e8oRtDLx+nkrUUt7pY/ODCP84q6FREHNTxqIeMq9X7FM05nvKTUl fVWw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=E6a4+CIm3/DuDPOGNXsRcBnHzBEBikS3aL/QUIyWtic=; fh=RtMunrLSgfyMY9CrJfWfed1bgJMXmj645GB1/Da6w0g=; b=mBprRfs04Wh7r5IggK7ipP9A2Obc0z1orYZmLlxyVh+1GEDExMSFk+M+PlaOEqJpXc 3QRk8Z0NXaRdwJJfAgBDzJ0pVCAvjJGtVwNLtpE4xNeyGOe5dvjYfFBX8roP3wjeoxwc VTo/82kBynj4n8gC4wr3/TtjoyneedFwq492tzgOcytpeYysUKK+Q1LWddbU3ji+napV xPXYK8t+GF0oe648tPg8b9Yw+WAktuzydRll9h/XWZmzX3xjxyr/LeShQOxQ2wjzhzCG rE0I2CAVr8Cuutxq6aPgCMI6gnjM4Zn9g8jlTNdYTuZpUT6wP++Y6tvEe52N3R59GYov Pe5Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=0jIxQgOm; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-210662-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210662-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6fabb8e4363si74240a12.848.2024.06.11.15.23.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 15:23:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210662-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=@linux-foundation.org header.s=korg header.b=0jIxQgOm; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-210662-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210662-linux.lists.archive=gmail.com@vger.kernel.org" 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 7328C282594 for ; Tue, 11 Jun 2024 22:23:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 01FC71553B9; Tue, 11 Jun 2024 22:23:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="0jIxQgOm" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 1F06D15535D; Tue, 11 Jun 2024 22:23:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718144600; cv=none; b=V7eiNzV0tGfHWqx+UbMvhrNHgWd9jD7HNcWrBr+mdFeX8jiglh4byi8wouNXbbacqyHT8zsVFBRsFwlkJBUL+uyPBAUvk9di/wp30oPklfivVQFigU8W9TpwjXlreHjXHZH8KV3sbO4b5q/1Tk01jrHs3bRETty/JiIcAWXN2kU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718144600; c=relaxed/simple; bh=N7J/BKFpAmEyLroeB6EgYBai+EdxjrGGyxlJYhRnzzo=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=exvmf2LqlAuCy5VY3NOp1e3iogLG2Gij7JyZHPeDdRXGAxmF/HNMscgJEZpagP3OJZ4Ijm5W6Mz0P3Z1bPTUGTLpTxzTp4wMdGeuEm4+1tQS9KGo3rFA5M75c8Lf2MShtycLbUPORJZ3EzQFu2Q6FB6eRSJZeRIWZkqoIO2HeZI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=0jIxQgOm; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 61DE5C2BD10; Tue, 11 Jun 2024 22:23:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1718144599; bh=N7J/BKFpAmEyLroeB6EgYBai+EdxjrGGyxlJYhRnzzo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=0jIxQgOmjhTJF9j2Le1iYYfgjpUM9ZW5eXdch5pbaNr8a+mL+nP0dbaKMlVFofRGy 2DJZVQUoAXGPSGadWc108A+G+L0E+Sts9WHlQ5O7MdIoYO6SbbboHCkZA0yysMeRks leaUZ3XjBh0x7S0wZXH7YMkk2GC9HlQjqlcn561c= Date: Tue, 11 Jun 2024 15:23:17 -0700 From: Andrew Morton To: Mark Brown Cc: Shuah Khan , Muhammad Usama Anjum , Ryan Roberts , linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] selftests: mm: Make map_fixed_noreplace test names stable Message-Id: <20240611152317.8e72edb3a545a685a2a0b395@linux-foundation.org> In-Reply-To: <20240605-kselftest-mm-fixed-noreplace-v1-1-a235db8b9be9@kernel.org> References: <20240605-kselftest-mm-fixed-noreplace-v1-1-a235db8b9be9@kernel.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 05 Jun 2024 23:36:12 +0100 Mark Brown wrote: > KTAP parsers interpret the output of ksft_test_result_*() as being the > name of the test. The map_fixed_noreplace test uses a dynamically > allocated base address for the mmap()s that it tests and currently > includes this in the test names that it logs so the test names that are > logged are not stable between runs. It also uses multiples of PAGE_SIZE > which mean that runs for kernels with different PAGE_SIZE configurations > can't be directly compared. Both these factors cause issues for CI > systems when interpreting and displaying results. > > Fix this by replacing the current test names with fixed strings > describing the intent of the mappings that are logged, the existing > messages with the actual addresses and sizes are retained as diagnostic > prints to aid in debugging. This sounds fairly annoying and I'm inclined to backport the fix into -stable kernels(?).