mariadb/storage/innobase
Marko Mäkelä 895cd553a3 MDEV-32175: Reduce page_align(), page_offset() calls
When srv_page_size and innodb_page_size were introduced,
the functions page_align() and page_offset() got more expensive.
Let us try to replace such calls with simpler pointer arithmetics
with respect to the buffer page frame.

page_rec_get_next_non_del_marked(): Add a page frame as a parameter,
and template<bool comp>.

page_rec_next_get(): A more efficient variant of page_rec_get_next(),
with template<bool comp> and const page_t* parameters.

lock_get_heap_no(): Replaces page_rec_get_heap_no() outside debug checks.

fseg_free_step(), fseg_free_step_not_header(): Take the header block
as a parameter.

Reviewed by: Vladislav Lesin
2024-11-21 11:01:30 +02:00
..
btr MDEV-32175: Reduce page_align(), page_offset() calls 2024-11-21 11:01:30 +02:00
buf MDEV-35190 HASH_SEARCH duplicates effort before HASH_INSERT or HASH_DELETE 2024-11-21 08:59:02 +02:00
data Merge 10.4 into 10.5 2022-10-25 11:26:37 +03:00
dict MDEV-32175: Reduce page_align(), page_offset() calls 2024-11-21 11:01:30 +02:00
eval MDEV-27336 Crash on DROP DATABASE due to out-of-bounds result from InnoDB SUBSTR() 2021-12-21 17:33:26 +02:00
fil MDEV-35190 HASH_SEARCH duplicates effort before HASH_INSERT or HASH_DELETE 2024-11-21 08:59:02 +02:00
fsp MDEV-32175: Reduce page_align(), page_offset() calls 2024-11-21 11:01:30 +02:00
fts MDEV-32175: Reduce page_align(), page_offset() calls 2024-11-21 11:01:30 +02:00
fut MDEV-32175: Reduce page_align(), page_offset() calls 2024-11-21 11:01:30 +02:00
gis MDEV-32175: Reduce page_align(), page_offset() calls 2024-11-21 11:01:30 +02:00
ha MDEV-35189: Updating cache for INNODB_LOCKS et al is suboptimal 2024-11-12 12:17:34 +02:00
handler Extract some of #3360 fixes to 10.6.x 2024-11-18 13:29:04 +11:00
ibuf MDEV-32175: Reduce page_align(), page_offset() calls 2024-11-21 11:01:30 +02:00
include MDEV-32175: Reduce page_align(), page_offset() calls 2024-11-21 11:01:30 +02:00
lock MDEV-32175: Reduce page_align(), page_offset() calls 2024-11-21 11:01:30 +02:00
log MDEV-32175: Reduce page_align(), page_offset() calls 2024-11-21 11:01:30 +02:00
mem MDEV-27058: Reduce the size of buf_block_t and buf_page_t 2021-11-18 17:47:19 +02:00
mtr Merge 10.5 into 10.6 2024-05-30 14:27:07 +03:00
mysql-test/storage_engine
os Extract some of #3360 fixes to 10.6.x 2024-11-18 13:29:04 +11:00
page MDEV-32175: Reduce page_align(), page_offset() calls 2024-11-21 11:01:30 +02:00
pars Merge branch '10.5' into 10.6 2023-12-17 11:20:43 +01:00
que MDEV-34515: Reduce context switching in purge 2024-08-26 12:23:17 +03:00
read MDEV-34515: Contention between purge and workload 2024-08-26 12:23:06 +03:00
rem Merge branch '10.5' into 10.6 2024-03-13 21:02:34 +01:00
row MDEV-32175: Reduce page_align(), page_offset() calls 2024-11-21 11:01:30 +02:00
srv MDEV-35171 OS_FILE_NORMAL and OS_FILE_AIO are misleading 2024-10-21 15:31:32 +02:00
sync MDEV-34973: innobase/lock0lock: add noexcept 2024-10-01 09:53:16 +03:00
trx MDEV-32175: Reduce page_align(), page_offset() calls 2024-11-21 11:01:30 +02:00
unittest MDEV-34759: buf_page_get_low() is unnecessarily acquiring exclusive latch 2024-08-23 13:27:50 +03:00
ut MDEV-26642/MDEV-26643/MDEV-32898 Implement innodb_snapshot_isolation 2024-03-20 09:48:03 +02:00
.clang-format-old switch off storage/innobase/.clang-format: InnoDB uses a common formatting style for all new code 2021-03-17 11:01:15 +03:00
bzip2.cmake Add feature summary at the end of cmake. 2021-07-21 10:22:56 +03:00
CMakeLists.txt MDEV-34690 lock_rec_unlock_unmodified() causes deadlock 2024-10-23 12:36:17 +03:00
COPYING.Google
COPYING.Percona
lz4.cmake Add feature summary at the end of cmake. 2021-07-21 10:22:56 +03:00
lzma.cmake Add feature summary at the end of cmake. 2021-07-21 10:22:56 +03:00
lzo.cmake Add feature summary at the end of cmake. 2021-07-21 10:22:56 +03:00
snappy.cmake Add feature summary at the end of cmake. 2021-07-21 10:22:56 +03:00