• S
    padata: simplify serialization mechanism · 5f1a8c1b
    Steffen Klassert 提交于
    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: NSteffen Klassert <steffen.klassert@secunet.com>
    Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
    5f1a8c1b
padata.h 4.5 KB