diff options
| author | Francois Dugast <francois.dugast@intel.com> | 2026-05-22 11:25:30 +0200 |
|---|---|---|
| committer | Francois Dugast <francois.dugast@intel.com> | 2026-05-29 13:44:00 +0200 |
| commit | e16ac0132f1dcb2ad403de6dbefc2a3881cd5112 (patch) | |
| tree | 1a181f41e1d0745b3eb3a688fb740c15c79f9c42 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 51d28339bfefe1ed603820669534440465f5dc46 (diff) | |
gpu/buddy: Introduce __gpu_buddy_undo_splits() helper
The pattern of merging a block back with its buddy on error paths is
duplicated across multiple locations. Extract it into a
__gpu_buddy_undo_splits() helper to avoid repetition and prepare for
future changes.
Suggested-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://lore.kernel.org/r/20260522092600.32818-4-francois.dugast@intel.com
Signed-off-by: Francois Dugast <francois.dugast@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
