diff options
| author | Kent Overstreet <[email protected]> | 2022-11-24 18:03:55 -0500 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2023-10-22 17:09:49 -0400 |
| commit | 393a1f6863790fddf8b53bfb81f2c984cdbc1990 (patch) | |
| tree | 49d028ee32ff607fcc69bf16aba948463d4a91cd /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 19a614d2e4beed7faf52ab95cb48ce38a3c38c04 (diff) | |
bcachefs: Better inlining in core write path
Provide inline versions of some allocation functions
- bch2_alloc_sectors_done_inlined()
- bch2_alloc_sectors_append_ptrs_inlined()
and use them in the core IO path.
Also, inline bch2_extent_update_i_size_sectors() and
bch2_bkey_append_ptr().
In the core write path, function call overhead matters - every function
call is a jump to a new location and a potential cache miss.
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions