Page MenuHomeFreeBSD

Avoid switching CPUs in epoch_drain_callbacks().
AbandonedPublic

Authored by markj on Apr 29 2020, 5:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 16, 7:01 AM
Unknown Object (File)
Oct 19 2024, 6:16 AM
Unknown Object (File)
Oct 19 2024, 6:15 AM
Unknown Object (File)
Oct 19 2024, 5:53 AM
Unknown Object (File)
Sep 27 2024, 6:08 PM
Unknown Object (File)
Sep 21 2024, 5:44 PM
Unknown Object (File)
Sep 20 2024, 1:02 PM
Unknown Object (File)
Sep 13 2024, 2:40 AM

Details

Summary

This avoids problems caused by binding to a CPU monopolized by a
high-priority thread.

Instead, implement a simple state machine that allows callback threads
to signal when they're done executing deferred callbacks for a given
epoch domain.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 30796
Build 28519: arc lint + arc unit

Event Timeline

markj requested review of this revision.Apr 29 2020, 5:21 PM
markj created this revision.
markj added a subscriber: erj.

I understand that there is a plan to remove this interface entirely, but this provides a workaround in the meantime and could be merged to 12.

I need some more time to review this. Any updates?

I need some more time to review this. Any updates?

I have no updates. I'll spend some more time on testing shortly.