Page MenuHomeFreeBSD

kern/intr: switch intr_event_handle() to return stray count
Needs ReviewPublic

Authored by ehem_freebsd_m5p.com on Feb 8 2023, 9:04 PM.
Tags
None
Referenced Files
F131926417: D38449.diff
Sun, Oct 12, 6:37 AM
F131908300: D38449.diff
Sun, Oct 12, 3:32 AM
Unknown Object (File)
Mon, Sep 29, 7:39 PM
Unknown Object (File)
Sep 11 2025, 8:43 PM
Unknown Object (File)
Sep 11 2025, 4:29 PM
Unknown Object (File)
Aug 21 2025, 7:55 PM
Unknown Object (File)
Aug 14 2025, 11:55 PM
Unknown Object (File)
Aug 14 2025, 11:33 PM
Subscribers

Details

Reviewers
markj
Summary

Comparable to the current situation. Minor savings, one caller simply
passes the count directly through.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 49636
Build 46526: arc lint + arc unit

Event Timeline

This works well with D35519/D35529/D35546. The whole stack turns to returning stray counts, which are rather more useful than 0 or EINVAL. Notably for a PPI interrupt, limited reporting of strays can be rather more consistent.

A more recent version of the series is now on Github as #1301. Note that is marked as a draft since something else is higher priority right now.