Hugo Santos
|
11b5020f2f
|
rewrote the object cache (slab) implementation a bit, preparing for further integration.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20887 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2007-04-28 18:53:58 +00:00 |
|
Hugo Santos
|
8a96ba39e3
|
some slab cleanups, split the C interface to another file.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20875 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2007-04-28 09:37:38 +00:00 |
|
Hugo Santos
|
5d6551d69f
|
removed some of the slab's initial heavy debugging. we now merge the links into the slab itself resulting in zero overhead per buffer with MergedLink strategy.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20841 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2007-04-26 15:40:53 +00:00 |
|
Hugo Santos
|
e6fb3d3947
|
more slab fixes, also introduced a new strategy optimized for medium sized buffers (64 >= x < 512) with lengths other than power of 2 (has an overhead of 2 words per buffer).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20839 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2007-04-26 11:38:24 +00:00 |
|
Hugo Santos
|
dd89ad0e7e
|
added locking to slab's Cache<>. Now we react to system's low memory conditions freeing up empty slabs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20836 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2007-04-26 07:31:19 +00:00 |
|
Hugo Santos
|
b8c0d6618e
|
gcc 4 compilation fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20835 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2007-04-26 06:32:25 +00:00 |
|
Hugo Santos
|
81bc570922
|
assorted slab fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20833 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2007-04-26 06:05:08 +00:00 |
|
Hugo Santos
|
81423c91c7
|
added initial slab code to the kernel. It is still unused, and there is still no VM interaction.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20832 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
2007-04-26 03:41:24 +00:00 |
|