Page MenuHomeFreeBSD

ktrace: Use STAILQ_EMPTY_ATOMIC when checking for records in userret()
AcceptedPublic

Authored by markj on Fri, Mar 21, 2:09 PM.

Details

Reviewers
olce
Summary

As in commit 36631977d8c9, this check is unlocked and may trigger
spurious assertion failures. Use STAILQ_EMPTY_ATOMIC() here as well.
Fix nearby whitespace.

Reported by: syzkaller
Fixes: 34740937f7a4 ("queue: New debug macros for STAILQ")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 63027
Build 59911: arc lint + arc unit