diff options
author | Timo Teräs <timo.teras@iki.fi> | 2010-04-07 04:30:04 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-07 14:43:18 +0400 |
commit | fe1a5f031e76bd8761a7803d75b95ee96e84a574 (patch) | |
tree | c74392cef02c1529b00df6c5d0b8f4239fe091c3 /sound/pci/ice1712/Makefile | |
parent | 8020eb82d4c37d21dade0abeb8feed265a01819e (diff) | |
download | linux-fe1a5f031e76bd8761a7803d75b95ee96e84a574.tar.xz |
flow: virtualize flow cache entry methods
This allows to validate the cached object before returning it.
It also allows to destruct object properly, if the last reference
was held in flow cache. This is also a prepartion for caching
bundles in the flow cache.
In return for virtualizing the methods, we save on:
- not having to regenerate the whole flow cache on policy removal:
each flow matching a killed policy gets refreshed as the getter
function notices it smartly.
- we do not have to call flow_cache_flush from policy gc, since the
flow cache now properly deletes the object if it had any references
Signed-off-by: Timo Teras <timo.teras@iki.fi>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/pci/ice1712/Makefile')
0 files changed, 0 insertions, 0 deletions