• Dan Kruchinin's avatar
    padata: Make two separate cpumasks · e15bacbe
    Dan Kruchinin authored
    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: default avatarDan Kruchinin <dkruchinin@acm.org>
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    e15bacbe
padata.c 24.9 KB