rhashtable: split rhashtable.h
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:Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by:
NeilBrown <neilb@suse.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- MAINTAINERS 2 additions, 0 deletionsMAINTAINERS
- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h 1 addition, 0 deletionsdrivers/net/ethernet/chelsio/cxgb4/cxgb4.h
- include/linux/ipc.h 1 addition, 1 deletioninclude/linux/ipc.h
- include/linux/ipc_namespace.h 1 addition, 1 deletioninclude/linux/ipc_namespace.h
- include/linux/mroute_base.h 1 addition, 1 deletioninclude/linux/mroute_base.h
- include/linux/rhashtable-types.h 139 additions, 0 deletionsinclude/linux/rhashtable-types.h
- include/linux/rhashtable.h 2 additions, 125 deletionsinclude/linux/rhashtable.h
- include/net/inet_frag.h 1 addition, 1 deletioninclude/net/inet_frag.h
- include/net/netfilter/nf_flow_table.h 1 addition, 1 deletioninclude/net/netfilter/nf_flow_table.h
- include/net/sctp/structs.h 1 addition, 1 deletioninclude/net/sctp/structs.h
- include/net/seg6.h 1 addition, 1 deletioninclude/net/seg6.h
- include/net/seg6_hmac.h 1 addition, 1 deletioninclude/net/seg6_hmac.h
- ipc/msg.c 1 addition, 0 deletionsipc/msg.c
- ipc/sem.c 1 addition, 0 deletionsipc/sem.c
- ipc/shm.c 1 addition, 0 deletionsipc/shm.c
- ipc/util.c 1 addition, 0 deletionsipc/util.c
- lib/rhashtable.c 1 addition, 0 deletionslib/rhashtable.c
- net/ipv4/inet_fragment.c 1 addition, 0 deletionsnet/ipv4/inet_fragment.c
- net/ipv4/ipmr.c 1 addition, 0 deletionsnet/ipv4/ipmr.c
- net/ipv4/ipmr_base.c 1 addition, 0 deletionsnet/ipv4/ipmr_base.c
Loading
Please register or sign in to comment