History log of /freebsd-14.2/sys/compat/linuxkpi/common/include/linux/seqlock.h (Results 1 – 9 of 9)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0
# ada94bf9 24-Dec-2023 Vladimir Kondratyev <[email protected]>

LinuxKPI: Add write_seqcount_invalidate() and seqprop_sequence()

functions to linux/seqlock.h

Sponsored by: Serenity Cyber Security, LLC
Reviewed by: manu
MFC after: 1 week
Differential Revision: h

LinuxKPI: Add write_seqcount_invalidate() and seqprop_sequence()

functions to linux/seqlock.h

Sponsored by: Serenity Cyber Security, LLC
Reviewed by: manu
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D42810

(cherry picked from commit 64e30cba3f0432fa684728b67850b6254d3713ea)

show more ...


Revision tags: release/14.0.0
# 4d846d26 10-May-2023 Warner Losh <[email protected]>

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix

show more ...


Revision tags: release/13.2.0
# b34cd672 20-Jan-2023 Jean-Sébastien Pédron <[email protected]>

linuxkpi: Add `seqcount_ww_mutex_t` in <linux/seqlock.h>

It is defined as a synonymous to `seqcount_mutex_t`.

Reviewed by: manu
Approved by: manu
Differential Revision: https://reviews.freebsd.org/

linuxkpi: Add `seqcount_ww_mutex_t` in <linux/seqlock.h>

It is defined as a synonymous to `seqcount_mutex_t`.

Reviewed by: manu
Approved by: manu
Differential Revision: https://reviews.freebsd.org/D38152

show more ...


# 68f08e26 24-Dec-2022 Vladimir Kondratyev <[email protected]>

LinuxKPI: linux/seqlock.h: Fix write_seqcount_(begin|end)

in seqcount_mutex_t case with removal of extraneous mutex lock/unlock
calls and addition of missing critical section.
While here strip one i

LinuxKPI: linux/seqlock.h: Fix write_seqcount_(begin|end)

in seqcount_mutex_t case with removal of extraneous mutex lock/unlock
calls and addition of missing critical section.
While here strip one inline wrap layer to reduce code size.

Fixes startup lockup of i915kms after update to drm-kmod v5.12

Reviewed by: hselasky, bz
MFC after: 1week
Differential Revision: https://reviews.freebsd.org/D37699

show more ...


# 18e41123 01-Dec-2022 Jean-Sébastien Pédron <[email protected]>

linuxkpi: Add `seqcount_mutex_t` support in <linux/seqlock.h>

To achieve that, the header uses the C11 type generic selection keyboard
_Generic() because the macros are supposed to work with seqcoun

linuxkpi: Add `seqcount_mutex_t` support in <linux/seqlock.h>

To achieve that, the header uses the C11 type generic selection keyboard
_Generic() because the macros are supposed to work with seqcount_t
and seqcount_mutex_t.

Differential Revision: https://reviews.freebsd.org/D36965

show more ...


Revision tags: release/12.4.0, release/13.1.0
# efb8f0b8 25-Apr-2022 Mark Johnston <[email protected]>

linuxkpi: Mitigate a seqlock livelock

Disable preemption in seqlock write sections when using the _irqsave
variant. This ensures that a writer can't be preempted and subsequently
starved by a reade

linuxkpi: Mitigate a seqlock livelock

Disable preemption in seqlock write sections when using the _irqsave
variant. This ensures that a writer can't be preempted and subsequently
starved by a reader running in a callout handler on the same CPU.

This fixes occasional display hangs seen when using the i915 driver.

Tested by: emaste, wulf
Reviewed by: wulf, hselasky
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D35021

show more ...


# c9a99599 14-Feb-2022 Mateusz Guzik <[email protected]>

seqc: rename seqc_consistent_nomb to seqc_consistent_no_fence

For more consistency with other primitives.


# 307f78f3 19-Dec-2021 Vladimir Kondratyev <[email protected]>

LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards

MFC after: 1 week
Reviewed by: bz, emaste, hselasky, manu
Differential Revision: https://reviews.freebsd.org/D33562


Revision tags: release/12.3.0
# 8b33cb83 05-Jul-2021 Vladimir Kondratyev <[email protected]>

LinuxKPI: Implement sequence counters and sequential locks

as a thin wrapper around native version found in sys/seqc.h.
This replaces out-of-base GPLv2-licensed code used by drm-kmod.

Reviewed by:

LinuxKPI: Implement sequence counters and sequential locks

as a thin wrapper around native version found in sys/seqc.h.
This replaces out-of-base GPLv2-licensed code used by drm-kmod.

Reviewed by: hselasky
Differential revision: https://reviews.freebsd.org/D31006

show more ...