Received: by 2002:ab2:7988:0:b0:1f4:b336:87c4 with SMTP id g8csp88220lqj; Thu, 11 Apr 2024 10:32:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWm13DdpjI8EjiNChvGZrUW4L5xyC1M5m/gsko9yO6jRs1tHYoTRKnbYDzSBQz5Y78bZPCcvgJarx9r2prbkGsPJDaNak/UCbZ19GNYJw== X-Google-Smtp-Source: AGHT+IFlmEC4/S99t27hZO6pn816cjMygcYSfceNAwJ0qkE3c4HRB3bF/qNmFDr2TYh5un45lGKj X-Received: by 2002:a05:622a:189b:b0:434:e658:7552 with SMTP id v27-20020a05622a189b00b00434e6587552mr328523qtc.17.1712856769641; Thu, 11 Apr 2024 10:32:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712856769; cv=pass; d=google.com; s=arc-20160816; b=w6kV6eG00REM5uWuP9fdCA1IA1rl6rCGJk0LH5zsyoWhVxr2r72nB/mPWM55T/lBpC EbPAWpS4vYhucsK4+Ft6kuR4kwnP7EsngF2d1x/V0/Q9/DlzsgjXU7Fw3G+pgUe9q0O3 OhSDjdAmJSV1GVBY/J64VzICP5BSz44kqxKbK7y/3JUlUd+SO7ERrundmVdK7/X8TRAM mlTInEoEawDfsmTkKon0FM4c7XvFbGWyc2MGS7LAnZnqByy9E9wqyjecf6G+8wW38/6C Akj3dCvenqFU4rcma2HRCPH8pcP6fZu5GZNOuhwTjJHu2uHcleYFsfwHxP6MntTNakCL arWg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=1Hnq/ZAc7nWl6n4a+MUkmaPzOHmN8ZMKpbljmDPzbqY=; fh=fmJAQNqzv5Vyv75RDDlN7CK/avNDzxUCRrx53jU3DTg=; b=T2W1D4exknYypPYMRxntKXScFXVr6+4Fwr2LPKB1shl+vFeA3aWO2wvz7aTDF0WNm3 wnui7Zbw+C3SxxdRbznJf3M1coXvbYFVFb73z7lp7PecrKuJpNwL3IPdfuFEttNqhkup d453H0vrSv1WzSeez9rbqKqNPBfAuckOtfgkEv5QFI2qInH9HabJ4O4hEZdjvFW6+bBH /hmGEj4n0umYQNy74a1bzGDvnA7WuhDOPJWZQfx7kexjBqApLUZROjpTstD2KYJimRRb jcpldCutf5zFVw3Hc9b1wYGkcqO3nyv0TIuiumXIYfXfwca5KFCpeCZQcIi0tGcIKPIv Vj5Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JFKAUFGr; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-141261-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141261-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id v9-20020a05622a130900b004362d02077bsi1982817qtk.579.2024.04.11.10.32.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 10:32:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-141261-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JFKAUFGr; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-141261-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141261-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 5CE3D1C216C8 for ; Thu, 11 Apr 2024 17:32:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6ADDF132C3B; Thu, 11 Apr 2024 16:03:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JFKAUFGr" 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 9656A132C16; Thu, 11 Apr 2024 16:03:17 +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=1712851397; cv=none; b=MKHtqLbXypAaG6tyvBz28pC6fMHEWVP0R8lda/BkGRkR6Esdvc9brkjPHW0/YpYENBAC6Y9k2dwM8FvwcyralGaekleNW5+WYBSUWMxaDWDJO/tVkseMLH0HCwxGQ2f6h2NS/ZrZECyDXZi4EwLPlpPE2dpVVkBlF/mgY6V+qnc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712851397; c=relaxed/simple; bh=0N+/I5DLiHYV45vZIHFVMpIxTUwvM1Dvt5hV2unXXl0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=LeCTZMc9d1LB/aICa463ULmW6/GBuO/jH2D0mjcQC8plr18gTeiZrCD4b+Fzbpzp1G0MkXI5rWG5qJOZGfXqn0946LzmJBHFsgqF9NThRFmpNhllpfhCWl0347HUSsfaGhZKA6CGl/FHMioskA8UZZadSrDu7s/yAlkwn1dyNOA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=JFKAUFGr; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D6AE8C2BBFC; Thu, 11 Apr 2024 16:03:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712851397; bh=0N+/I5DLiHYV45vZIHFVMpIxTUwvM1Dvt5hV2unXXl0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JFKAUFGrw3IsxTZbgxXgHhrqdiPFt4v9Xuys1LwjkbvcQ4nQpzeGlA6MhNoZA9QLH YKOK6MZUUYwk8SG18qXCkQKplxYQhM9de8hub1SUyrl4f/mO5xRPGQ3yM1vC+4/BlA f8MWYJPzSGl+8OwZMsqu56+DYgRU33O3vCqa/A6TMmk9qhZLbsUNNPohMdeFMWxi8U v5xypegj0oEEIoOewPd1xIwWvk6boEM/aK3ieOQ4Pjvl03hhrC9cNR35XBD1dy0pbx 2y4PGUa+7Hhaq8LzzL4mp9bfBXRbnGrisuNgJBg8DsF9iTA0GcBhKKFPQBcX3PIJJL 5n+vxv8H7nhug== Date: Thu, 11 Apr 2024 17:03:10 +0100 From: Mark Brown To: Oleg Nesterov Cc: Thomas Gleixner , John Stultz , Marco Elver , Peter Zijlstra , Ingo Molnar , "Eric W. Biederman" , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Dmitry Vyukov , kasan-dev@googlegroups.com, Edward Liaw , Carlos Llamas , Greg Kroah-Hartman Subject: Re: [PATCH] selftests/timers/posix_timers: reimplement check_timer_distribution() Message-ID: <280faf88-9bcd-4f0d-b02a-eb72cbefbb3e@sirena.org.uk> References: <87o7aqb6uw.ffs@tglx> <87frw2axv0.ffs@tglx> <20240404145408.GD7153@redhat.com> <87le5t9f14.ffs@tglx> <20240406150950.GA3060@redhat.com> <87il0o0yrc.ffs@tglx> <20240411155053.GD5494@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6X+i8LxTiBMSWKj7" Content-Disposition: inline In-Reply-To: <20240411155053.GD5494@redhat.com> X-Cookie: How come we never talk anymore? --6X+i8LxTiBMSWKj7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Apr 11, 2024 at 05:50:53PM +0200, Oleg Nesterov wrote: > On 04/11, Thomas Gleixner wrote: > > Grrr. Let me stare at this. > Damn ;) > Can't we just turn ksft_min_kernel_version() into > static inline int ksft_min_kernel_version(unsigned int min_major, > unsigned int min_minor) > { > #ifdef NOLIBC > return -1; > #else That'd probably work well enough here. I think it's reasonable for someone who wants to build a test that uses ksft_min_kernel_version() with nolibc to figure out how to implement it, right now it's not actually getting used with nolibc and just happens to be seen due to being in the same header. > Not sure what should check_timer_distribution() do in this case, to me > ksft_test_result_fail() is fine. I'd go with skip but yeah. --6X+i8LxTiBMSWKj7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmYYCb4ACgkQJNaLcl1U h9Corgf+If9pRewR2Sf7yuBxPHFwhekXG3uOsPuQGQrq/fl0/zgB+V1ToPn9FsrD +INicy+H4EAfPy4Zr1aWOSJc9O9fsavsvYg59sfnRmYiwSHjQEbIj0ZUSVzEpCRH 39YNs2AEF8MtR0530GNjsDJqYFGdGj/ZCkcgaAHLrvkTWe97LPNaFDhxRfvR6HJz Y9Dub0bcfCQUt9bg2zGOMzgdll5TF6h2TApiEeedMpS0qO6/uvDH8Ws1gnVlH2dV HNW/grfhC5too7+GFpDDnBDaWaWD3vWDwuVDcGIWm1Nm9e8Yi1pwjXiGXSRMsBID 8MBmTlnBXsIEKJEnVpTu9zVw9Fg1Sw== =G3lU -----END PGP SIGNATURE----- --6X+i8LxTiBMSWKj7--