summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2010-07-07 15:32:39 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2010-07-14 20:29:30 +0800
commit5f1a8c1bc724498ff32acbd59ed5263275676b9d (patch)
tree0aa917ae98ebf20ec865930b75d0b16841b0b28f /lib
parent83f619f3c8abb82cac9158cf23c656ec5c184607 (diff)
downloadlinux-3.10-5f1a8c1bc724498ff32acbd59ed5263275676b9d.tar.gz
linux-3.10-5f1a8c1bc724498ff32acbd59ed5263275676b9d.tar.bz2
linux-3.10-5f1a8c1bc724498ff32acbd59ed5263275676b9d.zip
padata: simplify serialization mechanism
We count the number of processed objects on a percpu basis, so we need to go through all the percpu reorder queues to calculate the sequence number of the next object that needs serialization. This patch changes this to count the number of processed objects global. So we can calculate the sequence number and the percpu reorder queue of the next object that needs serialization without searching through the percpu reorder queues. This avoids some accesses to memory of foreign cpus. Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions