Page MenuHomeFreeBSD

cam: Move temporary queue from stack to softc
Needs ReviewPublic

Authored by imp on Mar 15 2024, 4:16 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 22, 6:24 AM
Unknown Object (File)
Sun, Apr 21, 8:46 PM
Unknown Object (File)
Sun, Apr 21, 2:20 PM
Unknown Object (File)
Fri, Apr 19, 4:46 PM
Unknown Object (File)
Wed, Apr 10, 2:47 AM
Unknown Object (File)
Mon, Apr 8, 7:24 AM
Unknown Object (File)
Mar 16 2024, 5:42 PM
Unknown Object (File)
Mar 15 2024, 2:16 PM
Subscribers
None

Details

Reviewers
mav
ken
Group Reviewers
cam
Summary

For the async thread, as well as the per-cpu done threads, move the
queue we copy all the requests into to the softc. This allows us to
dispaly this otherwise hidden state form the debugger.

Sponsored by: Netflix

Diff Detail

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

Event Timeline

imp requested review of this revision.Mar 15 2024, 4:16 AM

My only complaint is that it puts the queue into the same cache line as the main queue, that may be modified by writers. But if you really need it for debugging, it could be understood.

PS: You seem to be doing STAILQ_INIT() twice for doneqs.