• N
    rhashtable: split rhashtable.h · 0eb71a9d
    NeilBrown 提交于
    Due to the use of rhashtables in net namespaces,
    rhashtable.h is included in lots of the kernel,
    so a small changes can required a large recompilation.
    This makes development painful.
    
    This patch splits out rhashtable-types.h which just includes
    the major type declarations, and does not include (non-trivial)
    inline code.  rhashtable.h is no longer included by anything
    in the include/ directory.
    Common include files only include rhashtable-types.h so a large
    recompilation is only triggered when that changes.
    Acked-by: NHerbert Xu <herbert@gondor.apana.org.au>
    Signed-off-by: NNeilBrown <neilb@suse.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    0eb71a9d
rhashtable.c 29.6 KB