]> git.hungrycats.org Git - linux/commit
[PATCH] rcu: use call_rcu_bh() in route cache
authorDipankar Sarma <dipankar@in.ibm.com>
Mon, 23 Aug 2004 05:58:28 +0000 (22:58 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 23 Aug 2004 05:58:28 +0000 (22:58 -0700)
commit44d25f0331715152936006f22e14310d96ea8508
tree83ddd1745c9f50df79c8c37618911e3f4ce75553
parentf4d4d3f33efca5261c6313ead7d4b6d3a6add711
[PATCH] rcu: use call_rcu_bh() in route cache

Use call_rcu_bh() in route cache.  This allows faster grace periods and avoids
dst cache overflows during DoS testing.

This patch uses the call_rcu_bh() api in route cache code to facilitate
quicker RCU grace periods.  Quicker grace periods avoid overflow of dst cache
in heavily loaded routers as seen in Robert Olsson's testing.

Signed-off-by: Dipankar Sarma <dipankar@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
net/decnet/dn_route.c
net/ipv4/route.c