From nobody Sun Sep 27 23:51:13 2026 X-Original-To: dev-commits-src-all@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 4htLmx6spjz6tVfN for ; Sun, 27 Sep 2026 23:51:13 +0000 (UTC) (envelope-from git@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 "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4htLmx4vdQz4jgt for ; Sun, 27 Sep 2026 23:51:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1790553073; 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; bh=+YiuvtUDdHxo3gZ4xZRHHYfBdz0WuPy/lFDoUO8VMHM=; b=t7JDCCbbJUMe94MEmBd3a112G+0QgBkLACmV94hfzxjE0jgpONNZ8qnizTMzfWJmhajvNM 5PYFecpI9TbtruUU/B/4LqHJqzPg9akgX9e/e75kz3yjqou3c0YdAXvZEQgL/3YDS0wCLO GNCowGb9QZ4CuSAolMtdBEefafHTxaXRbos8kALxqNZu+AI3+Mnb9Wvevm1REp00t1unP4 icaFu3CLtY6pHo3z5dZ46du8wpk8Sgb7Km4Z+H20RETHmfiPYvMul9DQhWiE5uHwWVRAQb QTEUWoaztc/fCuCraV5/gixLHpCQzZtEaFjZenm+UBgSC7oF19IfVDhjb6L8Ng== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1790553073; b=K0Din/tglNlTUw/GbVpSIm7TGJULCGGbUbL8Zqj8pUHhP0XUfoDXFkLZZy9Cy+0jlhDttE eWfiYlsfEBAkY7mEbdefqfoVfO7hHS3CXq0GzuQDbciemLU7MAOiB9o4uV7+ow47bmEUJ/ osOxLp4hmC5cRhV9EkrM8Qya6+d/G9wzC++xDeLrTOVKsHOrAItq4Gz2viBvutZVHWPBBy R6hsCdBVAZOkGC5S04ioBJe4/glp+qBrv9D3E6iRg5m78PNnQv43DihU9g9mgRkYbq7jEQ ilobS0CcskwYv8ltHDGWx1B9fpMxvtrSZBCEzCEpWodj70a03K6rachSBSXPwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1790553073; 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; bh=+YiuvtUDdHxo3gZ4xZRHHYfBdz0WuPy/lFDoUO8VMHM=; b=j4qvbnjaL+//dUXY6zpOwEOF5IHjPmlpJxCwMRNrY09msbyIqDd7rwSk0QBlHrgniCL6i9 rKxJTnZG4inbqrG23nhk3Z2E646hgkpxMCzT5/Q3+cvaWhWmpUY6y049qs0P1wGw4ASi6S vn039faLfvkwTiaIhexrgzY+weA3rvyDkQZ9BrbTKY95/rgHLD//F0xhWmS2BZJ8m0ezmm k1JR4KSkRt6Ih3gAlM6GKE1ynSprBgAEiOBq2RW0PSVukVgrO6KGzvsq3S8CkDLJ8A2kpn KwT3s8DP1x+hT5gyr7A6eA7jFuGEUEuARtTeOjufam6kUsQd2GUhs8gVT4eY7g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4htLmx3wylz13Hk for ; Sun, 27 Sep 2026 23:51:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 36a09 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sun, 27 Sep 2026 23:51:13 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: c2f66b661642 - main - libthr.3: document LIBPTHREAD_PSHARED_LOCK_DESTROY_IMMEDIATE_GC List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c2f66b6616425e0e8edab3e893bc4cb58869140d Auto-Submitted: auto-generated Date: Sun, 27 Sep 2026 23:51:13 +0000 Message-Id: <6ab9abf1.36a09.fa7987e@gitrepo.freebsd.org> The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=c2f66b6616425e0e8edab3e893bc4cb58869140d commit c2f66b6616425e0e8edab3e893bc4cb58869140d Author: Konstantin Belousov AuthorDate: 2026-09-27 22:25:34 +0000 Commit: Konstantin Belousov CommitDate: 2026-09-27 22:30:00 +0000 libthr.3: document LIBPTHREAD_PSHARED_LOCK_DESTROY_IMMEDIATE_GC Sponsored by: The FreeBSD Foundation MFC after: 1 week --- lib/libthr/libthr.3 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/libthr/libthr.3 b/lib/libthr/libthr.3 index 5d9c5ec6706b..4b1995a79414 100644 --- a/lib/libthr/libthr.3 +++ b/lib/libthr/libthr.3 @@ -206,8 +206,14 @@ for pthread operations specifying a timeout. If the operation requests a timeout less than the value provided, it is silently increased to the value. The value of zero means no minimum (default). -.Pp +.It Ev LIBPTHREAD_PSHARED_LOCK_DESTROY_IMMEDIATE_GC +The implementation of the process shared lock scans +the mapped shared off-pages to detect locks destroyed by other processes, +when the current process destroys a shared lock. +This is done not more often than 25msec. +Setting the environment variable causes the scan to run on each destroy. .El +.Pp The following .Dv sysctl MIBs affect the operation of the library: