mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 14:13:09 +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. |
||
---|---|---|
.. | ||
arm | ||
codezero | ||
linux | ||
pistachio | ||
x86_32 | ||
x86_64 | ||
alarm.mk | ||
blit.mk | ||
dde_kit.mk | ||
ldso-arch.mk | ||
ldso-startup.mk | ||
net.mk | ||
timed_semaphore.mk | ||
xev_track.mk |