mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-26 08:51:08 +00:00
48ac5143a2
Linux DDE used to implement Linux spin locks based on 'dde_kit_lock'. This works fine if a spin lock is initialized only once and used infinitely. But if spin locks are initialized on-the-fly at a high rate, each initialization causes the allocation of a new 'dde_kit_lock'. Because in contrast to normal locks, spinlocks cannot be explicitly destroyed, the spin-lock emulating locks are never freed. To solve the leakage of locks, there seems to be no other way than to support the semantics as expected by the Linux drivers. Hence, this patch introduces a DDE Kit API for spin locks. |
||
---|---|---|
.. | ||
assert.h | ||
dde_kit.h | ||
initcall.h | ||
interrupt.h | ||
lock.h | ||
memory.h | ||
panic.h | ||
pci.h | ||
pgtab.h | ||
printf.h | ||
resources.h | ||
semaphore.h | ||
spin_lock.h | ||
thread.h | ||
timer.h | ||
types.h |