1. 02 2月, 2008 2 次提交
  2. 30 1月, 2008 1 次提交
    • N
      spinlock: lockbreak cleanup · 95c354fe
      Nick Piggin 提交于
      The break_lock data structure and code for spinlocks is quite nasty.
      Not only does it double the size of a spinlock but it changes locking to
      a potentially less optimal trylock.
      
      Put all of that under CONFIG_GENERIC_LOCKBREAK, and introduce a
      __raw_spin_is_contended that uses the lock data itself to determine whether
      there are waiters on the lock, to be used if CONFIG_GENERIC_LOCKBREAK is
      not set.
      
      Rename need_lockbreak to spin_needbreak, make it use spin_is_contended to
      decouple it from the spinlock implementation, and make it typesafe (rwlocks
      do not have any need_lockbreak sites -- why do they even get bloated up
      with that break_lock then?).
      Signed-off-by: NNick Piggin <npiggin@suse.de>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      95c354fe
  3. 26 1月, 2008 16 次提交
  4. 20 1月, 2008 1 次提交
  5. 16 1月, 2008 1 次提交
  6. 08 12月, 2007 1 次提交
  7. 07 11月, 2007 1 次提交
  8. 20 10月, 2007 2 次提交
  9. 16 10月, 2007 1 次提交
  10. 13 10月, 2007 4 次提交
  11. 22 8月, 2007 1 次提交
  12. 01 8月, 2007 1 次提交
  13. 24 7月, 2007 1 次提交
  14. 22 7月, 2007 2 次提交
  15. 13 7月, 2007 1 次提交
  16. 12 7月, 2007 4 次提交