From nobody Sun Jan 01 09:39:33 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 4NlDVF5PQcz2l4QC for ; Sun, 1 Jan 2023 09:39:33 +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 4NlDVF2VTDz3tnN for ; Sun, 1 Jan 2023 09:39:33 +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=1672565973; 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=q6N0vzQyh59XkMysVKbWDyu1vQsE20svx9zwuYrwMMM=; b=dKaCEcmhMSMd0+DCY7ZeIcggpCGAcW6QNQSQeFxrqru/GupavWEuL2cg4SSQqkjRyyNKvx AEr4ezij0EkzJCuqMhYUWh0V6jOhcXW74IbOt4EGgQtbNbbi6zpNXqzexpVIohqhVJC7LB alWQWcPyjKWP3Svn+YFJaKkJKtsAtepntKFasvExe9rkXiVseom1WodtgDtfvz2peCBecP mjJYRKIY6ej7+4Gvnzcl42VPSNRCxEegebcOL+Vif+kyIo32kg6w1Fp9bnsbGKeRhRDlzj AaXhvdusCCBUKzgRb4KktU7d/x6wOpI8noM/s3AW02Aq/s4kScYKpSq29bK8sA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672565973; a=rsa-sha256; cv=none; b=cUXXRpR/9j42kO2kvEC5Oc4Stg3TftWL2J41fw9kGQZFNWDhvLTd+fVvQJW52k0REkLj2N Oo3+ZnMx/GlSF5PiXiquPEBzXNt1//tPV8Aw21gM9QqLIYY4Yo6SsNql8qJOhzHo6+Q+U2 yWT2WL/O4KUGpWGo2Qwfuj+tPftW+NvxEJvRX9NviDe73aTBPo86a/yeztsKK1c1oK2QkQ MaQ+t5bfNp9pG5Py0rhHZuGvWwin2OKkNZ4MdJtzp0Puaf6H2YsbT4Tx+hzBY41/w+49cQ SY8ibU0vIf4GtHtrTUe5pgPBrbNOul6FFcEIsDtb7D11NLZ5I3inIi/2WE6IOQ== 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 4NlDVF1SYZzN6M for ; Sun, 1 Jan 2023 09:39:33 +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 3019dXRg068967 for ; Sun, 1 Jan 2023 09:39:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3019dXlB068966 for threads@FreeBSD.org; Sun, 1 Jan 2023 09:39:33 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: threads@FreeBSD.org Subject: [Bug 268532] [libthr] pthread_mutex_destroy/pshared_gc slow when destroying many process shared locks Date: Sun, 01 Jan 2023 09:39:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: New 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=3D268532 --- Comment #2 from Konstantin Belousov --- In principle, I agree with this tweak. I have a suggestion, please record the time of the finish of the last gc, instead of start. Otherwise, I suspect it still would allow for too much gc= ing in some situations. --=20 You are receiving this mail because: You are the assignee for the bug.=