1. 30 10月, 2013 1 次提交
  2. 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
  3. 03 9月, 2010 1 次提交
  4. 31 7月, 2010 4 次提交
  5. 19 7月, 2010 2 次提交
    • D
      padata: Added sysfs primitives to padata subsystem · 5e017dc3
      Dan Kruchinin 提交于
      Added sysfs primitives to padata subsystem. Now API user may
      embedded kobject each padata instance contains into any sysfs
      hierarchy. For now padata sysfs interface provides only
      two objects:
          serial_cpumask   [RW] - cpumask for serial workers
          parallel_cpumask [RW] - cpumask for parallel workers
      Signed-off-by: NDan Kruchinin <dkruchinin@acm.org>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      5e017dc3
    • D
      padata: Make two separate cpumasks · e15bacbe
      Dan Kruchinin 提交于
      The aim of this patch is to make two separate cpumasks
      for padata parallel and serial workers respectively.
      It allows user to make more thin and sophisticated configurations
      of padata framework. For example user may bind parallel and serial workers to non-intersecting
      CPU groups to gain better performance. Also each padata instance has notifiers chain for its
      cpumasks now. If either parallel or serial or both masks were changed all
      interested subsystems will get notification about that. It's especially useful
      if padata user uses algorithm for callback CPU selection according to serial cpumask.
      Signed-off-by: NDan Kruchinin <dkruchinin@acm.org>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      e15bacbe
  6. 14 7月, 2010 2 次提交
  7. 19 5月, 2010 2 次提交
  8. 06 1月, 2010 1 次提交