Page MenuHomeFreeBSD

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

Authored by wulf on Dec 14 2022, 3:24 PM.
Tags
None
Referenced Files
F132611051: D37699.diff
Sat, Oct 18, 10:08 AM
Unknown Object (File)
Sun, Oct 12, 3:29 PM
Unknown Object (File)
Sun, Oct 12, 3:29 PM
Unknown Object (File)
Sun, Oct 12, 3:29 PM
Unknown Object (File)
Sun, Oct 12, 4:15 AM
Unknown Object (File)
Fri, Oct 3, 4:21 AM
Unknown Object (File)
Sep 18 2025, 12:34 PM
Unknown Object (File)
Sep 13 2025, 4:23 PM

Details

Summary

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 in drm-kmod v5.12

Test Plan

Build drm-kmod v5.12 and kldload i915kms after than

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable