# Re: \[PATCH 02/18\] rhashtable: split rhashtable.h

- From: Herbert Xu \<herbert@gondor.apana.org.au\>
- Date: 2018-06-01 10:49:04 
- List: netdev
- Page: https://ratatoskr.run/netdev/2018/06/5298641
- Thread: https://ratatoskr.run/netdev/2018/06/5298437/t.md

```text
On Fri, Jun 01, 2018 at 02:44:09PM +1000, NeilBrown wrote:
> 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.
> 
> Signed-off-by: NeilBrown <redacted>

Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
-- 
Email: Herbert Xu [ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
```
