First round of hoard changes to change it exactly to what we need.

Removed the arch-specific stuff for all other platforms.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11326 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-02-10 18:47:16 +00:00
parent 577c5fac30
commit 71aa315c95
9 changed files with 194 additions and 888 deletions
@@ -22,7 +22,7 @@
The superblock class controls a number of blocks (which are
allocatable units of memory).
------------------------------------------------------------------------
@(#) $Id: superblock.cpp,v 1.1 2002/10/05 17:13:30 axeld Exp $
@(#) $Id: superblock.cpp,v 1.2 2005/02/10 18:47:16 axeld Exp $
------------------------------------------------------------------------
Emery Berger | <http://www.cs.utexas.edu/users/emery>
Department of Computer Sciences | <http://www.cs.utexas.edu>
@@ -84,7 +84,7 @@ superblock::superblock (int numBlocks, // The number of blocks in the sb.
computeFullness();
assert ((unsigned long) b <= hoardHeap::align (sizeof(superblock) + blksize * _numBlocks) + (unsigned long) this);
hoardLockInit (_upLock);
hoardLockInit(_upLock, "hoard superblock");
}
superblock * superblock::makeSuperblock (int sizeclass,