<?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 spinlock.h</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>183b64df - linuxkpi: spinlock: Simplify code</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h#183b64df</link>
        <description>linuxkpi: spinlock: Simplify codeJust use a typedef for spinlock_t, no need to create a uselessstructure.Reviewed by:		bz, emasteSponsored by:		Beckhoff Automation GmbH &amp; Co. KGDifferential Revision:	https://reviews.freebsd.org/D45205(cherry picked from commit ae38a1a1bfdf320089c254e4dbffdf4769d89110)linuxkpi: Fix spin_lock_initSome linux code re-init some spinlock so add MTX_NEW to mtx_init.Reported by:	David Wolfskill &lt;david@catwhisker.org&gt;Fixes:		ae38a1a1bfdf (&quot;linuxkpi: spinlock: Simplify code&quot;)(cherry picked from commit cff79fd02636f34010d8b835cc9e55401fa76e74)

            List of files:
            /freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h</description>
        <pubDate>Wed, 15 May 2024 09:00:04 +0000</pubDate>
        <dc:creator>Emmanuel Vadot &lt;manu@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>95ee2897 - sys: Remove $FreeBSD$: two-line .h pattern</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h#95ee2897</link>
        <description>sys: Remove $FreeBSD$: two-line .h patternRemove /^\s*\*\n \*\s+\$FreeBSD\$$\n/

            List of files:
            /freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h</description>
        <pubDate>Wed, 16 Aug 2023 17:54:11 +0000</pubDate>
        <dc:creator>Warner Losh &lt;imp@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>ad83dd2b - LinuxKPI: Appease -Wunused-but-set-variable warnings from GCC.</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h#ad83dd2b</link>
        <description>LinuxKPI: Appease -Wunused-but-set-variable warnings from GCC.- Mark assert dummy variables as __unused.- Use a dummy (void) cast of the flags argument passed to  spin_unlock_irqrestore so it gets treated as used.Reviewed by:	manu, hselaskyDifferential Revision:	https://reviews.freebsd.org/D39349

            List of files:
            /freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h</description>
        <pubDate>Fri, 31 Mar 2023 17:56:33 +0000</pubDate>
        <dc:creator>John Baldwin &lt;jhb@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>11ef1d97 - Revert &quot;LinuxKPI: Allow spin_lock_irqsave to be called within a critical section&quot;</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h#11ef1d97</link>
        <description>Revert &quot;LinuxKPI: Allow spin_lock_irqsave to be called within a critical section&quot;This change results in deadlocks on UP systemsThis reverts commit 7dea0c9e6eba4dc127cd67667c81fa2c250f1024.Requested by:	kib, hselasky

            List of files:
            /freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h</description>
        <pubDate>Wed, 26 Jan 2022 22:27:01 +0000</pubDate>
        <dc:creator>Vladimir Kondratyev &lt;wulf@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>02ea6033 - LinuxKPI: Allow spin_lock_irqsave to be called within a critical section</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h#02ea6033</link>
        <description>LinuxKPI: Allow spin_lock_irqsave to be called within a critical sectionwith spinning on spin_trylock. dma-buf part of drm-kmod depends on thisproperty and absence of it support results in &quot;mi_switch: switch in acritical section&quot; assertions [1][2].[1] https://github.com/freebsd/drm-kmod/issues/116[2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261166MFC after:	1 weekReviewed by:	manuDifferential Revision:	https://reviews.freebsd.org/D33887

            List of files:
            /freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h</description>
        <pubDate>Tue, 18 Jan 2022 20:14:12 +0000</pubDate>
        <dc:creator>Vladimir Kondratyev &lt;wulf@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>307f78f3 - LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h#307f78f3</link>
        <description>LinuxKPI: Constantly use _LINUXKPI_ prefix in include guardsMFC after:	1 weekReviewed by:	bz, emaste, hselasky, manuDifferential Revision:	https://reviews.freebsd.org/D33562

            List of files:
            /freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h</description>
        <pubDate>Sun, 19 Dec 2021 10:42:42 +0000</pubDate>
        <dc:creator>Vladimir Kondratyev &lt;wulf@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>f1a7639a - LinuxKPI: Add some typical header pollution</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h#f1a7639a</link>
        <description>LinuxKPI: Add some typical header pollutionTo reduce amount of drm-kmod patchingMFC after:	1 weekReviewed by:	hselasky, manuDifferential Revision:	https://reviews.freebsd.org/D33297

            List of files:
            /freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h</description>
        <pubDate>Sat, 04 Dec 2021 10:00:53 +0000</pubDate>
        <dc:creator>Vladimir Kondratyev &lt;wulf@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>086cfe4d - linuxkpi: Add spin_trylock_irqsave() macro</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h#086cfe4d</link>
        <description>linuxkpi: Add spin_trylock_irqsave() macroThis is needed by the drm-kmod 5.6 update.Reviewed by:		hselaskyMFC after:		3 daysDifferential Revision:	https://reviews.freebsd.org/D30706

            List of files:
            /freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h</description>
        <pubDate>Thu, 15 Jul 2021 14:52:42 +0000</pubDate>
        <dc:creator>Neel Chauhan &lt;nc@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>c77ec79b - LinuxKPI: Change flags parameter type of atomic_dec_and_lock_irqsave</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h#c77ec79b</link>
        <description>LinuxKPI: Change flags parameter type of atomic_dec_and_lock_irqsaveOn Linux atomic_dec_and_lock_irqsave is a wrapper macro which providesa reference to third parameter rather than parameter value itself toimplementation routine called _atomic_dec_and_lock_irqsave [1].While here, implement a fast path.[1] https://github.com/torvalds/linux/blob/master/include/linux/spinlock.h#L476Reviewed by:	hselaskyDifferential revision:	https://reviews.freebsd.org/D30781

            List of files:
            /freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h</description>
        <pubDate>Mon, 05 Jul 2021 00:19:01 +0000</pubDate>
        <dc:creator>Vladimir Kondratyev &lt;wulf@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>46ae23a4 - LinuxKPI: avoid userret: Returning with with pinned thread</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h#46ae23a4</link>
        <description>LinuxKPI: avoid userret: Returning with with pinned threadSome code manually calls local_bh_disable() and spin_lock() butthen calls spin_unlock_bh() (or vice versa).Our code then calls local_bh_disable() again from spin_lock()which means we have the thread pin count increased twice and thatmeans we get out of synch and are still pinned when returning touser space.Avoid this by adding the explicit local_bh_{enable,disable}() tothe spin_[un]lock_bh() versions.Sponsored by:	The FreeBSD FoundationMFC after:	2 weeksReviewed by:	hselaskyDifferential Revision: https://reviews.freebsd.org/D30711

            List of files:
            /freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h</description>
        <pubDate>Wed, 09 Jun 2021 18:53:16 +0000</pubDate>
        <dc:creator>Bjoern A. Zeeb &lt;bz@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>e657f3de - linuxkpi: Remove unneeded {} in atomic_dec_and_lock_irqsave()</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h#e657f3de</link>
        <description>linuxkpi: Remove unneeded {} in atomic_dec_and_lock_irqsave()

            List of files:
            /freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h</description>
        <pubDate>Mon, 26 Apr 2021 15:25:33 +0000</pubDate>
        <dc:creator>Neel Chauhan &lt;nc@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>c8de6e20 - linuxkpi: Elimiate brackets on return in spinlock.h</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h#c8de6e20</link>
        <description>linuxkpi: Elimiate brackets on return in spinlock.h

            List of files:
            /freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h</description>
        <pubDate>Mon, 26 Apr 2021 15:16:48 +0000</pubDate>
        <dc:creator>Neel Chauhan &lt;nc@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>ce65353a - linuxkpi: Implement atomic_dec_and_lock_irqsave()</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h#ce65353a</link>
        <description>linuxkpi: Implement atomic_dec_and_lock_irqsave()This is needed by the drm-kmod 5.5 update.Reviewed by:		hselasky, manuMFC after:		3 daysDifferential Revision:	https://reviews.freebsd.org/D29988

            List of files:
            /freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h</description>
        <pubDate>Mon, 26 Apr 2021 15:15:49 +0000</pubDate>
        <dc:creator>Neel Chauhan &lt;nc@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>83630517 - linuxkpi whitespace cleanup</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h#83630517</link>
        <description>linuxkpi whitespace cleanupReviewed by:	hselasky, markjMFC after:	1 weekDifferential Revision:	https://reviews.freebsd.org/D14807

            List of files:
            /freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h</description>
        <pubDate>Fri, 23 Mar 2018 15:50:01 +0000</pubDate>
        <dc:creator>Ed Maste &lt;emaste@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>9a323f25 - Implement spin_trylock_irq() function macro in the LinuxKPI.</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h#9a323f25</link>
        <description>Implement spin_trylock_irq() function macro in the LinuxKPI.MFC after:	1 weekSubmitted by:	Johannes Lundberg &lt;johalun0@gmail.com&gt;Sponsored by:	Mellanox Technologies

            List of files:
            /freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h</description>
        <pubDate>Sat, 17 Feb 2018 22:45:15 +0000</pubDate>
        <dc:creator>Hans Petter Selasky &lt;hselasky@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>e560eab7 - Streamline the LinuxKPI spinlock wrappers.</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h#e560eab7</link>
        <description>Streamline the LinuxKPI spinlock wrappers.1) Add better spinlock debug names when WITNESS_ALL is defined.2) Make sure that the calling thread gets bound to the current CPUwhile a spinlock is locked. Some Linux kernel code depends on that theCPU ID doesn&apos;t change while a spinlock is locked.3) Add support for using LinuxKPI spinlocks during a panic().MFC after:		1 weekSponsored by:		Mellanox Technologies

            List of files:
            /freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h</description>
        <pubDate>Tue, 21 Feb 2017 14:22:14 +0000</pubDate>
        <dc:creator>Hans Petter Selasky &lt;hselasky@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>1e3db1de - Make the LinuxKPI task struct persistent accross system calls.</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h#1e3db1de</link>
        <description>Make the LinuxKPI task struct persistent accross system calls.A set of helper functions have been added to manage the life of theLinuxKPI task struct. When an external system call or task is invoked,a check is made to create the task struct by demand. A threaddestructor callback is registered to free the task struct when athread exits to avoid memory leaks.This change lays the ground for emulating the Linux kernel moreclosely which is a dependency by the code using the LinuxKPI APIs.Add new dedicated td_lkpi_task field has been added to struct threadinstead of abusing td_retval[1].Fix some header file inclusions to make LINT kernel build properlyafter this change.Bump the __FreeBSD_version to force a rebuild of all kernel modules.MFC after:		1 weekSponsored by:		Mellanox Technologies

            List of files:
            /freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h</description>
        <pubDate>Tue, 21 Feb 2017 12:43:02 +0000</pubDate>
        <dc:creator>Hans Petter Selasky &lt;hselasky@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>8d59ecb2 - Finish process of moving the LinuxKPI module into the default kernel build.</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h#8d59ecb2</link>
        <description>Finish process of moving the LinuxKPI module into the default kernel build.- Move all files related to the LinuxKPI into sys/compat/linuxkpi and  its subfolders.- Update sys/conf/files and some Makefiles to use new file locations.- Added description of COMPAT_LINUXKPI to sys/conf/NOTES which in turn  adds the LinuxKPI to all LINT builds.- The LinuxKPI can be added to the kernel by setting the  COMPAT_LINUXKPI option. The OFED kernel option no longer builds the  LinuxKPI into the kernel. This was done to keep the build rules for  the LinuxKPI in sys/conf/files simple.- Extend the LinuxKPI module to include support for USB by moving the  Linux USB compat from usb.ko to linuxkpi.ko.- Bump the FreeBSD_version.- A universe kernel build has been done.Reviewed by:	np @ (cxgb and cxgbe related changes only)Sponsored by:	Mellanox Technologies

            List of files:
            /freebsd-14.2/sys/compat/linuxkpi/common/include/linux/spinlock.h</description>
        <pubDate>Thu, 29 Oct 2015 08:28:39 +0000</pubDate>
        <dc:creator>Hans Petter Selasky &lt;hselasky@FreeBSD.org&gt;</dc:creator>
    </item>
</channel>
</rss>
