History log of /haiku/src/add-ons/kernel/file_cache/rule_based_prefetcher.cpp
Revision Date Author Comments
# 425ac1b6 20-Jun-2023 Alexander von Gluck IV <kallisti5@unixzen.com>

refactor: Swap %Ld for %lld in all format usages

* %Ld is an undocumented alias for %lld in glibc.
* muslc doesn't implement it for this reason.
* While we will likely never drop %Ld support,
lets clean house and set a better example.

Change-Id: Id46dad3104abae483e80cc5c05d1464d3ecd8030
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6636
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# cca5be40 28-Aug-2019 Jaroslaw Pelczar <jarek@jpelczar.com>

rule_based_prefetcher.cpp: Fix function prototype

Signed-off-by: Jaroslaw Pelczar <jarek@jpelczar.com>
Change-Id: Ic0d961266a6aebf31c711c466fb3ff5a5b1b50ff
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1777
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 72c715ec 24-Apr-2018 Fredrik Holmqvist <fredrik.holmqvist@gmail.com>

Another while (( ..)


# 29208af8 21-Apr-2018 Fredrik Holmqvist <fredrik.holmqvist@gmail.com>

Redundant '('


# c4718ea9 12-Jan-2015 Adrien Destugues <pulkomandy@gmail.com>

Missing std::nothrow on new

Forgot to add this when migrating to BOpenHashTable.


# 42eb787c 09-Jan-2015 Adrien Destugues <pulkomandy@gmail.com>

rule_based_prefetcher: actually implement hashing

This file is apparently not part of the image so I don't know how to
test these changes.


# a2c274e7 09-Jan-2015 Adrien Destugues <pulkomandy@gmail.com>

rule based prefetcher: migrate to BOpenHashTable.

For #9552.


# b0f5179a 28-May-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

* Changed recursive_lock to use a mutex instead of a semaphore.
* Adjusted code using recursive locks respectively. The initialization
cannot fail anymore, and it is possible to use recursive locks in the
early boot process (even uninitialized, if in BSS), which simplifies
things a little.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25687 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1a662751 07-May-2008 Axel Dörfler <axeld@pinc-software.de>

Some minor fix I had laying around on some machine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25351 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c3740924 06-Oct-2005 Axel Dörfler <axeld@pinc-software.de>

The rule_based_prefetcher is now actually usable - had those lying on my hard drive a while longer...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14315 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 32b74952 28-Aug-2005 Axel Dörfler <axeld@pinc-software.de>

Started a rule based prefetching module - it doesn't do anything useful yet beyond
loading a certain type of rules, but compiles fine :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14079 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c4718ea973dc20d96ddf1c8b164ed5ca514b8ca5 12-Jan-2015 Adrien Destugues <pulkomandy@gmail.com>

Missing std::nothrow on new

Forgot to add this when migrating to BOpenHashTable.


# 42eb787c74a09f47cc2e4e551219730658dc24b6 09-Jan-2015 Adrien Destugues <pulkomandy@gmail.com>

rule_based_prefetcher: actually implement hashing

This file is apparently not part of the image so I don't know how to
test these changes.


# a2c274e70e7af2cc8cf79a31aa8a41b041067ad2 09-Jan-2015 Adrien Destugues <pulkomandy@gmail.com>

rule based prefetcher: migrate to BOpenHashTable.

For #9552.


# b0f5179aa51eb680cdeea656a8b11fdbc6b56d63 28-May-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

* Changed recursive_lock to use a mutex instead of a semaphore.
* Adjusted code using recursive locks respectively. The initialization
cannot fail anymore, and it is possible to use recursive locks in the
early boot process (even uninitialized, if in BSS), which simplifies
things a little.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25687 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1a662751d5e34e49075050b253e2322e96c7adeb 07-May-2008 Axel Dörfler <axeld@pinc-software.de>

Some minor fix I had laying around on some machine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25351 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c374092428255066face499bd17c71420a36e41c 06-Oct-2005 Axel Dörfler <axeld@pinc-software.de>

The rule_based_prefetcher is now actually usable - had those lying on my hard drive a while longer...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14315 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 32b749520a6e08256a62ff43ecd07864e36a0a0b 28-Aug-2005 Axel Dörfler <axeld@pinc-software.de>

Started a rule based prefetching module - it doesn't do anything useful yet beyond
loading a certain type of rules, but compiles fine :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14079 a95241bf-73f2-0310-859d-f6bbb57e9c96