Project

General

Profile

Actions

Bug #10708

closed

EMG misses deregistration of pm_ops in remove

Added by Pavel Andrianov about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Environment models
Target version:
Start date:
02/09/2021
Due date:
% Done:

0%

Estimated time:
Detected in build:
git
Platform:
Published in build:

Description

After successful probe of the platform_device, pm_ops are also registered. But after removing it, pm_ops are just suspended (in environment model). For races it means, that pm_ops thread is still active and the next probe operation will work in parallel with the first pm_ops. So, a normal deregistration of pm_ops (with pthread_join inside for races) is required.

Actions

Also available in: Atom PDF