From nobody Mon Feb 28 07:50:36 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6084119E0C1B for ; Mon, 28 Feb 2022 07:50:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K6XcF1dgNz4f9B for ; Mon, 28 Feb 2022 07:50:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 15CD41797C for ; Mon, 28 Feb 2022 07:50:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 21S7ob30004082 for ; Mon, 28 Feb 2022 07:50:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 21S7obBu004081 for bugs@FreeBSD.org; Mon, 28 Feb 2022 07:50:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 262215] Two imprecisions in cputime counters Date: Mon, 28 Feb 2022 07:50:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: phk@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646034637; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FafsqzqUs/56PXZkZbhLP6gLcn7h3Ttmg+TT/Xkq2Rw=; b=DnAqkJDZQusn4VanWbQjMmQmmgVs0gHVYAkOOUppDTIH/8tklaAH19DyBs1bWoTJLhwVrv vWxxDh4AydPIDclf9XoDR0FztRszlMenl27Memto5f3SFh3L/RU/6DiLWzIxK2Pxyfm/s7 5X1poFZt/c+OecoWlB2ZjIKmv/IEa5Dud0BP3fuO1mdJaNtNHK/Q90fh2nlFy9RBUzeCFf r8oSkRq0HWiDHrFPhYhz5fR2tdb72VUxo0+0Ct3IJUUeAChcT1iaMC6hog2MbMJYgLs1IV fhHruS9FDRcOZVMuzdyUCvxr8xojaPF4+EJW2s8mBKf9YwK7LbfVsAnqfXMy/g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646034637; a=rsa-sha256; cv=none; b=WqADj/p1yh59kEKT0ldsYKfxyG09AzIh7NyxHDC9HerHp7sixuJegA72ZvMO6AiUS4SZpl GFIX1uAjs6CUtK74S2ZpfKpj/EF7z3GrLciCb6n1uPCD4hWKNfdZ8poHXG3IrgQChXQslk 9gcLFiKRTRA3BTHmtB+2lKJ3ZHV6jbAE08IqPG5+Kx39nowGsSJvPUlQU3wRqRLpSrX847 EVpcTSQuxcc4cY5yYASgQ4/DoRWLTBLojZQwEA01KshpGOTSj02J3ejLDBt5bpi9FyX96c uHB6IS7SuZmPe4o20+q1SXiibIkkBM5YNFjBy4rFI/E2TAl9yVT29RV+o4fw/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262215 --- Comment #2 from Poul-Henning Kamp --- In terms of efficiency, I suspect the if() hurts more than the extra divide= s, so maybe just get rid of the if() and always take the "expensive" path ? --=20 You are receiving this mail because: You are the assignee for the bug.=