From nobody Tue Apr 18 23:23:29 2023 X-Original-To: threads@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 4Q1KjZ0GqMz45r31 for ; Tue, 18 Apr 2023 23:23:30 +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 4Q1KjY61P7z4X3y for ; Tue, 18 Apr 2023 23:23:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681860209; 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=TZjzz+1OH5WSdzSHrdBGrJyMpTsavSetSJrK2hBCwgg=; b=SK8KQWXhFIwbOZhObZAKHXdBEC2w9iU4+c85A4An7GpoiPQzDzmws9bGxWVmrWvSBpzeY7 YtPu+F1ni4Dvp1XaWjyNlxErvHl5eGZzfntvhTRxfVy1Ex6VDMk4LnbTvQTyt8Ej12V0Cw 76jKSzeiPgrC/OwM8jaMccyDon/Avr9aXdrOvIT9BGZoBvbYZPxu3e29+N4b+3yXbkEn3B YZ76087DTqN2lL4TerIkPkjlNOwbqO8ZacbrKiAwcOHV74EiDTJQE/SEKzRA6W37HL8a/S agfc3Ry1TJQNR0bhAKEOP+M3+PDvhcA/1rSqdDeSdKTm/t2uIDPccMy8lHSOBQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681860209; a=rsa-sha256; cv=none; b=a1il55Chimdpsl1q3UIVXeAxNatAblBvad6ipxIhdNelJ/HnamY6lpwtvFh9Zz9wrJdxaC 7zb2dMD4u4vyXNUJqKjyZnT8bKTvbxeuYZxpWXeu3HLnQjx53ZfgtFb+TVvUPPKTE7cJtc pL1ZHnWgW50ic7RutDbFxbUwmEFJG6ohNXyenDA/ShiJevnTgC+hEhYceJBqT7xC+pPHCc yHOEYwiGLH+BaoPqIap8SVdgf13MiRujv+7wLyqxDL4qUFtWIybfdohd4bXBzEhfPlnC6f 8LAeUxOZmSNP2mtRP/nAzbOTrcBUxvgn0GYcpWLdV8XTFVebLzrcWsG6Yh460g== 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 4Q1KjY4pnHzX8G for ; Tue, 18 Apr 2023 23:23:29 +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 33INNTJN086047 for ; Tue, 18 Apr 2023 23:23:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 33INNTWD086046 for threads@FreeBSD.org; Tue, 18 Apr 2023 23:23:29 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: threads@FreeBSD.org Subject: [Bug 270785] Performance and power efficiency regression due to pthread_cond_timedwait() changes Date: Tue, 18 Apr 2023 23:23:29 +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.2-RELEASE X-Bugzilla-Keywords: performance, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: threads@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: Threading List-Archive: https://lists.freebsd.org/archives/freebsd-threads List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-threads@freebsd.org X-BeenThere: freebsd-threads@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270785 --- Comment #17 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D93ca6ff2958cace3b7b883ed797ea6539= 881a6a2 commit 93ca6ff2958cace3b7b883ed797ea6539881a6a2 Author: Konstantin Belousov AuthorDate: 2023-04-15 17:46:12 +0000 Commit: Konstantin Belousov CommitDate: 2023-04-18 23:22:28 +0000 umtx: allow to configure minimal timeout (in nanoseconds) PR: 270785 Reviewed by: markj, mav Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D39584 lib/libc/sys/_umtx_op.2 | 11 +++++++++++ lib/libthr/libthr.3 | 6 ++++++ lib/libthr/thread/thr_init.c | 11 +++++++++++ sys/kern/kern_thread.c | 4 ++-- sys/kern/kern_umtx.c | 45 ++++++++++++++++++++++++++++++++++++++++= ++++ sys/sys/proc.h | 1 + sys/sys/umtx.h | 2 ++ 7 files changed, 78 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=