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
Unknown Object (File)
Sat, Nov 29, 6:39 AM
Unknown Object (File)
Fri, Nov 28, 6:30 AM
Unknown Object (File)
Thu, Nov 27, 7:49 AM
Unknown Object (File)
Tue, Nov 25, 6:17 PM
Unknown Object (File)
Sun, Nov 16, 7:18 AM
Unknown Object (File)
Wed, Nov 5, 4:10 AM
Unknown Object (File)
Oct 31 2025, 4:38 AM
Unknown Object (File)
Oct 20 2025, 3:45 AM

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 Passed
Unit
No Test Coverage
Build Status
Buildable 48716
Build 45602: arc lint + arc unit