padata: Flush the padata queues actively
authorSteffen Klassert <steffen.klassert@secunet.com>
Wed, 19 May 2010 03:43:46 +0000 (13:43 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 19 May 2010 03:43:46 +0000 (13:43 +1000)
commit2b73b07ab8a44ce171e07a328439f311481a7ea7
tree0a050dbe8eca78e1a8efff9b023e192c1f11633f
parentd46a5ac7a7e2045e33c6ad6ffb8cf18a7e86a15a
padata: Flush the padata queues actively

yield was used to wait until all references of the internal control
structure in use are dropped before it is freed. This patch implements
padata_flush_queues which actively flushes the padata percpu queues
in this case.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
kernel/padata.c