Searched hist:"393 a1f6863790fddf8b53bfb81f2c984cdbc1990" (Results 1 – 4 of 4) sorted by relevance
/linux/fs/bcachefs/ |
H A D | alloc_foreground.h | diff 393a1f6863790fddf8b53bfb81f2c984cdbc1990 Fri Nov 25 00:03:55 CET 2022 Kent Overstreet <kent.overstreet@linux.dev> 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 <kent.overstreet@linux.dev>
|
H A D | extents.h | diff 393a1f6863790fddf8b53bfb81f2c984cdbc1990 Fri Nov 25 00:03:55 CET 2022 Kent Overstreet <kent.overstreet@linux.dev> 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 <kent.overstreet@linux.dev>
|
H A D | alloc_foreground.c | diff 393a1f6863790fddf8b53bfb81f2c984cdbc1990 Fri Nov 25 00:03:55 CET 2022 Kent Overstreet <kent.overstreet@linux.dev> 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 <kent.overstreet@linux.dev>
|
H A D | extents.c | diff 393a1f6863790fddf8b53bfb81f2c984cdbc1990 Fri Nov 25 00:03:55 CET 2022 Kent Overstreet <kent.overstreet@linux.dev> 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 <kent.overstreet@linux.dev>
|