diff options
| author | Kent Overstreet <[email protected]> | 2023-07-13 02:43:29 -0400 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2023-10-22 17:10:07 -0400 |
| commit | 6132c84cacbff39e7b060abffc4175244347885d (patch) | |
| tree | b43cb579edb64c3a2ad66fe6d851c3c428ef6106 /tools/perf/scripts/python/flamegraph.py | |
| parent | 5eaa76d813d48a524a1ce040539048b851a0a20c (diff) | |
bcachefs: is_ancestor bitmap
Further optimization for bch2_snapshot_is_ancestor(). We add a small
inline bitmap to snapshot_t, which indicates which of the next 128
snapshot IDs are ancestors of the current id - eliminating the last few
iterations of the loop in bch2_snapshot_is_ancestor().
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions