title: Spinlocks in single processor and multi processor
body: <p>I read and studied how spinlocks work. Now I have a question which I can't find an exhaustive answer to:</p>
  
  <p>how do they work in a UP (uni-processor) environment and in a SMP (symmetric multi processor) environment? What are the differences and problems?</p>