Home
last modified time | relevance | path

Searched hist:"453 a2bdd18f2425ba61eed2205f86218238d200e" (Results 1 – 2 of 2) sorted by relevance

/haiku/headers/private/kernel/slab/
H A DObjectDepot.h453a2bdd18f2425ba61eed2205f86218238d200e Wed Jan 20 13:00:57 UTC 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Replaced the locking strategy (formerly a recursive lock for the depot and
one for each per CPU store):
* The depot is now protected by a R/W lock combined with a spinlock. It is
required to either hold read lock + spinlock or just the write lock.
* When accessing the per CPU stores we only need to acquire the read lock
and disable interrupts. When switching magazines with the depot we
additionally get the spinlock.
* When allocating a new magazine we do completely unlock.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35200 a95241bf-73f2-0310-859d-f6bbb57e9c96
/haiku/src/system/kernel/slab/
H A DObjectDepot.cpp453a2bdd18f2425ba61eed2205f86218238d200e Wed Jan 20 13:00:57 UTC 2010 Ingo Weinhold <ingo_weinhold@gmx.de> Replaced the locking strategy (formerly a recursive lock for the depot and
one for each per CPU store):
* The depot is now protected by a R/W lock combined with a spinlock. It is
required to either hold read lock + spinlock or just the write lock.
* When accessing the per CPU stores we only need to acquire the read lock
and disable interrupts. When switching magazines with the depot we
additionally get the spinlock.
* When allocating a new magazine we do completely unlock.


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