diff options
| author | Ian Rogers <[email protected]> | 2024-07-03 17:21:16 +0000 |
|---|---|---|
| committer | Namhyung Kim <[email protected]> | 2024-07-08 05:26:27 +0000 |
| commit | 88076e4699ce490aabe89037190d4749ab346b29 (patch) | |
| tree | 7fc4bdb9a72eac762aa8f95bd4ca7c40ce578a5b /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | |
| parent | Linux 6.10-rc3 (diff) | |
| download | kernel-88076e4699ce490aabe89037190d4749ab346b29.tar.gz kernel-88076e4699ce490aabe89037190d4749ab346b29.zip | |
perf comm str: Avoid sort during insert
The array is sorted, so just move the elements and insert in order.
Fixes: 13ca628716c6 ("perf comm: Add reference count checking to 'struct comm_str'")
Reported-by: Matt Fleming <[email protected]>
Signed-off-by: Ian Rogers <[email protected]>
Tested-by: Matt Fleming <[email protected]>
Cc: Steinar Gunderson <[email protected]>
Cc: Athira Rajeev <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions
