Skip to content

LLEXT: deferred logging still broken in multiprocessor configurations #81350

@lyakh

Description

@lyakh

Describe the bug

This is a race between a context, destroying an LLEXT and the logging thread. Previously #77289 this race has been fixed for cases, when both contexts are running on the same CPU. However that fix doesn't work when the contexts run on different CPUs.

To Reproduce

This has been reproduced with SOF when using the "nocodec" topology, which utilises multiple DSP cores.

Expected behavior

A proper synchronisation mechanism should reliably suspend LLEXT destruction until logging is flushed.

Impact

Blocks SOF LLEXT use in multi-core configurations

Metadata

Metadata

Assignees

Labels

area: llextLinkable Loadable ExtensionsbugThe issue is a bug, or the PR is fixing a bugplatform: Intel ADSPIntel Audio platformspriority: lowLow impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions