aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2023-10-20 12:24:36 -0400
committerKent Overstreet <[email protected]>2023-10-31 12:18:37 -0400
commit253ba178c8d9065748fa56b39343e6a5a55b0023 (patch)
tree694780b446d4269f0a5f5066dbf80cfff0e06ed6 /tools/perf/scripts/python/bin/stackcollapse-record
parenta1d97d8417d3c2f2477847541303621c32652976 (diff)
bcachefs: Fix ca->oldest_gen allocation
The ca->oldest_gen array needs to be the same size as the bucket_gens array; ca->mi.nbuckets is updated with only state_lock held, not gc_lock, so bch2_gc_gens() could race with device resize and allocate too small of an oldest_gens array. Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions