All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] caching bundles, iteration 2
@ 2010-03-29 14:12 Timo Teras
  2010-03-29 14:12 ` [PATCH 1/7] xfrm: remove policy lock when accessing policy->walk.dead Timo Teras
                   ` (6 more replies)
  0 siblings, 7 replies; 35+ messages in thread
From: Timo Teras @ 2010-03-29 14:12 UTC (permalink / raw)
  To: netdev; +Cc: Herbert Xu, Timo Teras

This is the current dump of my working tree. The first three
patches should be good already.

The patches 4-7 are more of experimental. And patch 6 has
currently a "bundle leak". If we have per-socket policy that
results in requiring a bundle, it's never freed. I'm not yet
exactly sure how to deal with that. Probably should keep the
bundles not associated with a flow cache entry in their own
global list, which should get garbage collected periodically.

Timo Teras (7):
  xfrm: remove policy lock when accessing policy->walk.dead
  flow: structurize flow cache
  flow: allocate hash table for online cpus only
  flow: delayed deletion of flow cache entries
  flow: virtualize get and entry deletion methods
  xfrm: cache bundles instead of policies for outgoing flows
  xfrm: remove policy garbage collection

 include/net/flow.h      |   18 +-
 include/net/xfrm.h      |   12 +-
 net/core/flow.c         |  442 +++++++++++++++----------
 net/ipv4/xfrm4_policy.c |   22 --
 net/ipv6/xfrm6_policy.c |   31 --
 net/xfrm/xfrm_policy.c  |  831 ++++++++++++++++++++++++-----------------------
 net/xfrm/xfrm_user.c    |    6 +-
 7 files changed, 712 insertions(+), 650 deletions(-)


^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2010-03-31 13:27 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-29 14:12 [PATCH 0/7] caching bundles, iteration 2 Timo Teras
2010-03-29 14:12 ` [PATCH 1/7] xfrm: remove policy lock when accessing policy->walk.dead Timo Teras
2010-03-29 14:43   ` Herbert Xu
2010-03-30  4:55     ` Timo Teräs
2010-03-30 11:53       ` Herbert Xu
2010-03-30 12:04         ` Timo Teräs
2010-03-30 12:14           ` Herbert Xu
2010-03-30 12:21             ` Timo Teräs
2010-03-30 12:23               ` Herbert Xu
2010-03-30 12:41                 ` Timo Teräs
2010-03-30 12:48                   ` Herbert Xu
2010-03-30 13:33                     ` Timo Teräs
2010-03-30 14:30                       ` Herbert Xu
2010-03-30 14:34                         ` Herbert Xu
2010-03-30 14:37                       ` Herbert Xu
2010-03-30 14:01           ` Timo Teräs
2010-03-30 14:29             ` Herbert Xu
2010-03-30 15:36               ` Timo Teräs
2010-03-31  0:43                 ` Herbert Xu
2010-03-29 14:12 ` [PATCH 2/7] flow: structurize flow cache Timo Teras
2010-03-30 12:01   ` Herbert Xu
2010-03-30 12:02     ` Timo Teräs
2010-03-30 12:15       ` Herbert Xu
2010-03-29 14:12 ` [PATCH 3/7] flow: allocate hash table for online cpus only Timo Teras
2010-03-30 12:12   ` Herbert Xu
2010-03-31 12:32     ` Rusty Russell
2010-03-31 13:27       ` Timo Teräs
2010-03-29 14:12 ` [PATCH 4/7] flow: delayed deletion of flow cache entries Timo Teras
2010-03-30 12:22   ` Herbert Xu
2010-03-30 12:32     ` Timo Teräs
2010-03-30 12:36       ` Herbert Xu
2010-03-30 12:43         ` Timo Teräs
2010-03-29 14:12 ` [PATCH 5/7] flow: virtualize get and entry deletion methods Timo Teras
2010-03-29 14:12 ` [PATCH 6/7] xfrm: cache bundles instead of policies for outgoing flows Timo Teras
2010-03-29 14:12 ` [PATCH 7/7] xfrm: remove policy garbage collection Timo Teras

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.