<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in pthread_mutex_consistent.3</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>fa9896e0 - Remove $FreeBSD$: two-line nroff pattern</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/share/man/man3/pthread_mutex_consistent.3#fa9896e0</link>
        <description>Remove $FreeBSD$: two-line nroff patternRemove /^\.\\&quot;\n\.\\&quot;\s*\$FreeBSD\$$\n/

            List of files:
            /freebsd-14.2/share/man/man3/pthread_mutex_consistent.3</description>
        <pubDate>Wed, 16 Aug 2023 17:55:10 +0000</pubDate>
        <dc:creator>Warner Losh &lt;imp@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>7fde0187 - Remove &quot;All Rights Reserved&quot; from Foundation copyrights</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/share/man/man3/pthread_mutex_consistent.3#7fde0187</link>
        <description>Remove &quot;All Rights Reserved&quot; from Foundation copyrightson man pages.MFC after:	1 weekSponsored by:	The FreeBSD Foundation

            List of files:
            /freebsd-14.2/share/man/man3/pthread_mutex_consistent.3</description>
        <pubDate>Thu, 30 Jun 2022 14:52:29 +0000</pubDate>
        <dc:creator>Ed Maste &lt;emaste@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>c5fb9d20 - More places to clarify the robustness guarantees.</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/share/man/man3/pthread_mutex_consistent.3#c5fb9d20</link>
        <description>More places to clarify the robustness guarantees.Wording submitted by:	Martin Simmons &lt;martin@lispworks.com&gt;MFC after:	3 days

            List of files:
            /freebsd-14.2/share/man/man3/pthread_mutex_consistent.3</description>
        <pubDate>Wed, 07 Aug 2019 17:51:40 +0000</pubDate>
        <dc:creator>Konstantin Belousov &lt;kib@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>1fdf757c - pthread_mutex_consistent: sort SEE ALSO by reference name</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/share/man/man3/pthread_mutex_consistent.3#1fdf757c</link>
        <description>pthread_mutex_consistent: sort SEE ALSO by reference nameMFC after:	3 daysReported by:	make manlintSponsored by:	Dell EMC Isilon

            List of files:
            /freebsd-14.2/share/man/man3/pthread_mutex_consistent.3</description>
        <pubDate>Mon, 27 Mar 2017 19:17:30 +0000</pubDate>
        <dc:creator>Enji Cooper &lt;ngie@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>2a339d9e - Add implementation of robust mutexes, hopefully close enough to the</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/share/man/man3/pthread_mutex_consistent.3#2a339d9e</link>
        <description>Add implementation of robust mutexes, hopefully close enough to theintention of the POSIX IEEE Std 1003.1TM-2008/Cor 1-2013.A robust mutex is guaranteed to be cleared by the system upon eitherthread or process owner termination while the mutex is held.  The nextmutex locker is then notified about inconsistent mutex state and canexecute (or abandon) corrective actions.The patch mostly consists of small changes here and there, addingneccessary checks for the inconsistent and abandoned conditions intoexisting paths.  Additionally, the thread exit handler was extended toiterate over the userspace-maintained list of owned robust mutexes,unlocking and marking as terminated each of them.The list of owned robust mutexes cannot be maintained atomicallysynchronous with the mutex lock state (it is possible in kernel, butis too expensive).  Instead, for the duration of lock or unlockoperation, the current mutex is remembered in a special slot that isalso checked by the kernel at thread termination.Kernel must be aware about the per-thread location of the heads ofrobust mutex lists and the current active mutex slot.  When a threadtouches a robust mutex for the first time, a new umtx op syscall isissued which informs about location of lists heads.The umtx sleep queues for PP and PI mutexes are split betweennon-robust and robust.Somewhat unrelated changes in the patch:1. Style.2. The fix for proper tdfind() call use in umtxq_sleep_pi() for shared   pi mutexes.3. Removal of the userspace struct pthread_mutex m_owner field.4. The sysctl kern.ipc.umtx_vnode_persistent is added, which controls   the lifetime of the shared mutex associated with a vnode&apos; page.Reviewed by:	jilles (previous version, supposedly the objection was fixed)Discussed with:	brooks, Martin Simmons &lt;martin@lispworks.com&gt; (some aspects)Tested by:	phoSponsored by:	The FreeBSD Foundation

            List of files:
            /freebsd-14.2/share/man/man3/pthread_mutex_consistent.3</description>
        <pubDate>Tue, 17 May 2016 09:56:22 +0000</pubDate>
        <dc:creator>Konstantin Belousov &lt;kib@FreeBSD.org&gt;</dc:creator>
    </item>
</channel>
</rss>
