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)
Oct 10 2024, 7:58 AM
Unknown Object (File)
Sep 26 2024, 12:20 PM
Unknown Object (File)
Sep 25 2024, 9:22 AM
Unknown Object (File)
Sep 21 2024, 10:27 AM
Unknown Object (File)
Sep 21 2024, 2:59 AM
Unknown Object (File)
Sep 15 2024, 8:53 PM
Unknown Object (File)
Sep 13 2024, 5:14 AM
Unknown Object (File)
Sep 6 2024, 2:11 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