commit | 4b36439de84fae46c3eb0dcbc90c79583d6bc09a | [log] [tgz] |
---|---|---|
author | Quentin Perret <quentin.perret@arm.com> | Mon Aug 21 18:16:10 2017 +0100 |
committer | Quentin Perret <quentin.perret@arm.com> | Mon Aug 21 18:16:10 2017 +0100 |
tree | 1cf656730214d20f036d28322cdc99cc38f3352d | |
parent | 66a50a2f4916aaa8f19113087d35b8357a58482d [diff] |
module/cgroups: robustify task freezer The set() method of the CGroup class used to freeze tasks relies on target's write_value(). Sometimes, the freezing procedure takes some time and the call to write_value() in set() fails by reading "FREEZING" while it expected "FROZEN". To avoid this issue, this commits introduces a shutil call dedicated to changing the state of the freezer controller.