aboutsummaryrefslogtreecommitdiff
path: root/scripts/rustdoc_test_builder.rs
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2024-07-03 10:21:16 -0700
committerNamhyung Kim <[email protected]>2024-07-03 14:59:15 -0700
commitfeaaa8be0b1efce6e8fb4222654413246bdc30aa (patch)
tree77cfa97e8c568fb28a9c2bfdd4727c281d2b4be5 /scripts/rustdoc_test_builder.rs
parent2eae307ec529a48dd6de89c86d0df62c7f5fc537 (diff)
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 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions