Skip to content

Notifiers shouldn't run in the caller's context when triggered on the same core #10225

@lyakh

Description

@lyakh

Describe the bug
notifier_event() is supposed to send notifications to all registered listeners. When the listener is on a different core, its callback is called in the IDC thread context, but if it's on the same core, it runs directly in the caller's context, which is inconsistent and can block high priority contexts for prolonged periods of time.

Expected behavior
When running on the same core, notification callbacks should run in an asynchronous (potentially low priority) context.

Impact
#10177 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low-impact bugs or featuresenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions