1. 28 3月, 2012 2 次提交
  2. 26 3月, 2012 2 次提交
  3. 21 3月, 2012 16 次提交
  4. 20 3月, 2012 10 次提交
  5. 18 3月, 2012 1 次提交
  6. 17 3月, 2012 4 次提交
  7. 16 3月, 2012 3 次提交
  8. 15 3月, 2012 1 次提交
  9. 14 3月, 2012 1 次提交
    • S
      padata: Fix race on sequence number wrap · 2dc9b5db
      Steffen Klassert 提交于
      When padata_do_parallel() is called from multiple cpus for the same
      padata instance, we can get object reordering on sequence number wrap
      because testing for sequence number wrap and reseting the sequence
      number must happen atomically but is implemented with two atomic
      operations. This patch fixes this by converting the sequence number
      from atomic_t to an unsigned int and protect the access with a
      spin_lock. As a side effect, we get rid of the sequence number wrap
      handling because the seqence number wraps back to null now without
      the need to do anything.
      Signed-off-by: NSteffen Klassert <steffen.klassert@secunet.com>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      2dc9b5db