Atomic Spinlock

From RTwiki
(Difference between revisions)
Jump to: navigation, search
Line 13: Line 13:
 
|-
 
|-
 
| preemption_disabling_never_sleeping_spinlock || way tooo long
 
| preemption_disabling_never_sleeping_spinlock || way tooo long
 +
|-
 +
| vanilla_spinlock || self explaining...but don't know if it is any better. :)
 
|-
 
|-
 
|}
 
|}
  
 
If we pick one of the suggested names based on its accuracy and obviousness the inventor can expect free beer at a FOSS conference where ([[User:tglx | tglx]]) happens to be there as well.
 
If we pick one of the suggested names based on its accuracy and obviousness the inventor can expect free beer at a FOSS conference where ([[User:tglx | tglx]]) happens to be there as well.

Revision as of 17:28, 30 July 2009

The new 2.6.31-rc4-rt1 patch annotates spinlocks which can not be converted to sleeping "spinlocks" as atomic_spinlock_t. The name is not perfect and we are looking for a better one which avoids the atomic confusion and expresses the fact that this lock always spins and disables preemption as well.

Please add your suggestions to the list below.

name rationale
atomic_spinlock the current name, confusing vs. the atomic* APIs
real_spinlock self explaining, but sucks
hard_spinlock close, but sucks more
preemption_disabling_never_sleeping_spinlock way tooo long
vanilla_spinlock self explaining...but don't know if it is any better. :)

If we pick one of the suggested names based on its accuracy and obviousness the inventor can expect free beer at a FOSS conference where ( tglx) happens to be there as well.

Personal tools