Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp8229008rwl; Tue, 10 Jan 2023 10:33:26 -0800 (PST) X-Google-Smtp-Source: AMrXdXsJcc3geqpeBeZkcXncVEmJA447yPCUUG842iJXjZ1w4h+Qc6lYjF0POPa+H8vGYItNCjoq X-Received: by 2002:a50:aacb:0:b0:484:7560:1a77 with SMTP id r11-20020a50aacb000000b0048475601a77mr49133789edc.16.1673375606674; Tue, 10 Jan 2023 10:33:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673375606; cv=none; d=google.com; s=arc-20160816; b=YK/8y19Pn5YdpRPxc8sdS3I12SpkyUriqR49ZAp33GwzsfYFIyZNOcKfNmSRZvBDo6 mdzFt5wBOM3WgoEA0o0tmBrmg+H6Zf5QZRECVhL0X5Z6Ue6MLC/3gYS8rn3XLtG4Ymaa mGNW6ndGXAq734mNvwwn2eIohGhQMe9+79m+AIb2EK00JX1zujusHK6sL82CTDfpXt84 YTMkq/MP1JT+Q8PkfL7TFJdWMt964ju1XzR/EozOVY4vNh7I9IbdOxsf/mgOI02dQ7gN vP/UPoVw+f6CFPTWgaUChe4qqnQgZ9OHrAJEcqnaHrg3CUuQSJihPvfCZ8BSV2x7uDAt IIGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=Z3flUaBHltWX+1WvHmxqySMLFd5edjPvE6WRaR12y50=; b=isFnoMBlo/QXi2JoyzvFPdj8nJ15lJ8xS63U8lYud3iSYRqJIGTbLLhPXHPZpMNtam 06SiNQ6eO/dazgXCK6LLumvHDmKJ8OUbkSPl0UAoBzDlTu4wZzjBbPlVKWATrQBM6yJp gzlCPaoLMxuvmQldITKJP6Jp3C0K8avU0K8FVrBS1TLiSX7KIrxrHXSqHOixtdHzT1h1 JAQv9wsZt56+reHZyddy5O6sSA+oqVTC2VfTcLmIdN9o3iS0VbbDaHKKUv+LOpUAN0HW yVmlHBHs7B6zIIqhARnLVITBjHcniyJk2ZVcUTs49XMC5rgeY/bF0Q0b1098vFGXjNuu SmlA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q10-20020a056402032a00b0046cc0300c0fsi11365587edw.581.2023.01.10.10.33.13; Tue, 10 Jan 2023 10:33:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235084AbjAJRzB (ORCPT + 53 others); Tue, 10 Jan 2023 12:55:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235386AbjAJRyi (ORCPT ); Tue, 10 Jan 2023 12:54:38 -0500 Received: from 1wt.eu (wtarreau.pck.nerim.net [62.212.114.60]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A0FE052743 for ; Tue, 10 Jan 2023 09:53:55 -0800 (PST) Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 30AHrloK007526; Tue, 10 Jan 2023 18:53:47 +0100 Date: Tue, 10 Jan 2023 18:53:47 +0100 From: Willy Tarreau To: "Paul E. McKenney" Cc: linux-kernel@vger.kernel.org, Sven Schnelle Subject: Re: [PATCH 0/4] nolibc: add support for the s390 platform Message-ID: <20230110175347.GC4649@1wt.eu> References: <20230109080910.26594-1-w@1wt.eu> <20230109191534.GU4028633@paulmck-ThinkPad-P17-Gen-1> <20230110073242.GB3229@1wt.eu> <20230110092517.GA4626@1wt.eu> <20230110145334.GL4028633@paulmck-ThinkPad-P17-Gen-1> <20230110161249.GB4649@1wt.eu> <20230110163210.GP4028633@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230110163210.GP4028633@paulmck-ThinkPad-P17-Gen-1> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 10, 2023 at 08:32:10AM -0800, Paul E. McKenney wrote: > On Tue, Jan 10, 2023 at 05:12:49PM +0100, Willy Tarreau wrote: > > On Tue, Jan 10, 2023 at 06:53:34AM -0800, Paul E. McKenney wrote: > > > Here is one of them, based on both the fixes and Sven's s390 support. > > > Please let me know if you need any other combination. > > > > Thanks, here's the problem: > > > > > 0 getpid = 1 [OK] > > > 1 getppid = 0 [OK] > > > 3 gettid = 1 [OK] > > > 5 getpgid_self = 0 [OK] > > > 6 getpgid_bad = -1 ESRCH [OK] > > > 7 kill_0[ 1.940442] tsc: Refined TSC clocksource calibration: 2399.981 MHz > > > [ 1.942334] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x229825a5278, max_idle_ns: 440795306804 ns > > > = 0 [OK] > > > 8 kill_CONT = 0 [ 1.944987] clocksource: Switched to clocksource tsc > > > [OK] > > > 9 kill_BADPID = -1 ESRCH [OK] > > (...) > > > > It's clear that "grep -c ^[0-9].*OK" will not count all of them (2 are > > indeed missing). > > > > We could probably start with "quiet" but that would be against the > > principle of using this to troubleshoot issues. I think we just stick > > to the current search of "FAIL" and that as long as a success is > > reported and the number of successes is within the expected range > > that could be OK. At least I guess :-/ > > Huh. Would it make sense to delay the start of the nolibc testing by a > few seconds in order to avoid this sort of thing? Or would that cause > other problems? That would be quite annoying. Delaying is never long enough for some issues, too long for the majority of cases where there is no issue. I'd suggest that we just rely on the fail count for now (as it is) and that will allow us to collect a larger variety of discrepancies and probably figure a better solution at some point. For example if we find that it's always the TSC that does this, maybe starting x86 with notsc will be a good fix. Regards, Willy