diff options
| author | Honggyu Kim <[email protected]> | 2025-07-02 00:02:03 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2025-07-10 04:07:55 +0000 |
| commit | ddba1b6cf4791824f8b614ff8878353a6c6f79f5 (patch) | |
| tree | 7eb350b6a0fdf83c1e80cfc62ceadd46809625bd /rust/helpers/regulator.c | |
| parent | samples/damon: fix damon sample wsse for start failure (diff) | |
| download | kernel-ddba1b6cf4791824f8b614ff8878353a6c6f79f5.tar.gz kernel-ddba1b6cf4791824f8b614ff8878353a6c6f79f5.zip | |
samples/damon: fix damon sample mtier for start failure
The damon_sample_mtier_start() can fail so we must reset the "enable"
parameter to "false" again for proper rollback.
In such cases, setting Y to "enable" then N triggers the similar crash
with mtier because damon sample start failed but the "enable" stays as Y.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 82a08bde3cf7 ("samples/damon: implement a DAMON module for memory tiering")
Signed-off-by: Honggyu Kim <[email protected]>
Reviewed-by: SeongJae Park <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'rust/helpers/regulator.c')
0 files changed, 0 insertions, 0 deletions
