summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-03-28 12:31:22 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:28 -0400
commit30690c441a6b481aadb0284d1b9bf487f8d28bfc (patch)
treea28eb307741e99bb57302da52d43374107d7b2f7 /tools/perf/scripts/python
parentfd1e9c69959ec2dd0946f3d2285548c87f9d6ea3 (diff)
downloadlinux-30690c441a6b481aadb0284d1b9bf487f8d28bfc.tar.gz
linux-30690c441a6b481aadb0284d1b9bf487f8d28bfc.zip
bcachefs: Heap code fix
When deleting an entry from a heap that was at entry h->used - 1, we'd end up calling heap_sift() on an entry outside the heap - the entry we just removed - which would end up re-adding it to the heap and deleting something we didn't want to delete. Oops... Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions