aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorMatthew Auld <[email protected]>2024-02-19 12:18:52 +0000
committerChristian König <[email protected]>2024-02-28 08:02:35 +0100
commitf41900e4a6ef019d64a70394b0e0c3bd048d4ec8 (patch)
treeac2f7fea4880b798a1b3226c553762c0e10fded0 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent00d6a284fcf3fad1b7e1b5bc3cd87cbfb60ce03f (diff)
drm/buddy: fix range bias
There is a corner case here where start/end is after/before the block range we are currently checking. If so we need to be sure that splitting the block will eventually give use the block size we need. To do that we should adjust the block range to account for the start/end, and only continue with the split if the size/alignment will fit the requested size. Not doing so can result in leaving split blocks unmerged when it eventually fails. Fixes: afea229fe102 ("drm: improve drm_buddy_alloc function") Signed-off-by: Matthew Auld <[email protected]> Cc: Arunpravin Paneer Selvam <[email protected]> Cc: Christian König <[email protected]> Cc: <[email protected]> # v5.18+ Reviewed-by: Arunpravin Paneer Selvam <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions