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)
Mon, Jan 6, 2:02 PM
Unknown Object (File)
Mon, Jan 6, 12:28 AM
Unknown Object (File)
Nov 15 2024, 3:56 AM
Unknown Object (File)
Nov 15 2024, 3:47 AM
Unknown Object (File)
Nov 15 2024, 1:02 AM
Unknown Object (File)
Oct 10 2024, 7:58 AM
Unknown Object (File)
Sep 26 2024, 12:20 PM
Unknown Object (File)
Sep 25 2024, 9:22 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 Not Applicable
Unit
Tests Not Applicable