Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - Q index
The Linux kernel configuration item CONFIG_QUEUED_SPINLOCKS_TRACE_CONTENDED_RELEASE:
CONFIG_QUEUED_SPINLOCKS && CONFIG_TRACEPOINTSFire the lock:contended_release tracepoint when a contended queued spinlock is released, so it is possible to attribute a contended spinlock to its holder.
Architectures that can patch the unlock site do this at no cost and do not need this option.
Everywhere else the check is compiled into queued_spin_unlock() and a small cost is paid on every unlock even when the tracepoint is disabled: a static-branch NOP and possibly a few more instructions to manage a stack frame.
Sleeping locks fire lock:contended_release regardless of this option.
If unsure, say N.
Raw data from LKDDb:
(none)This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).
The data is retrived from:
Popular queries:
Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - Q index
Automatically generated (in year 2026). See also LKDDb sources on GitLab