]> git.hungrycats.org Git - bees/commit
hash: use kernel readahead instead of bees_readahead to prefetch hash table
authorZygo Blaxell <bees@furryterror.org>
Mon, 25 Nov 2024 03:11:42 +0000 (22:11 -0500)
committerZygo Blaxell <bees@furryterror.org>
Sun, 1 Dec 2024 04:30:33 +0000 (23:30 -0500)
commitcdcdf8e218edf1f49f249aaf980bf6127fb74428
tree5d3a88ecbfbe9e7d8be4b3030073e47b6b0306cd
parent37f5b1bfa8ec6b1357ea968b15bcff89d58ff302
hash: use kernel readahead instead of bees_readahead to prefetch hash table

The hash table is read sequentially and from a single thread, so
the kernel's implementation of readahead is appropriate here.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
src/bees-hash.cc