-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
plugin_scheduler: Adjust error logging in _set_affinity
Do not report an error if a process is defunct even if it is not bound to specific CPUs: failing to change its affinity does not have any negative effects. Refactor the helper function _affinity_changeable to _ignore_set_affinity_error and make it return True/False depending on whether the failed affinity change can be ignored (i.e., not reported as an error). Do not check for vanished processes twice, the later check is sufficient. Resolves: RHEL-46560
- Loading branch information
Showing
1 changed file
with
16 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters