From: Gleb Smirnoff (glebius_at_FreeBSD.org)
Date: Thu, 14 Jul 2005 15:10:43 +0400 To: Peter Holm <firstname.lastname@example.org>, sam@FreeBSD.org, maxim@FreeBSD.org
On Wed, Jul 13, 2005 at 10:51:55AM +0200, Peter Holm wrote:
P> > how often the panic in subject fires? I guess it is related to the problem
P> > discussed in this thread , and may be even the patch I've posted there
P> > will help.
P> The panic is almost instantanious if I run the stress test while doing
P> an "arp -d xxx".
The attached WIP patch helps me. The  script can't drop my box to panic
anymore, when running in 15 instances on 4-x CPU box.
The idea of the patch is to hold rtentry lock during all the manipulation
of the rtentry itself and its llinfo. To achieve this, I've changed
rt_check() and arplookup() to return a locked rtentry.
Not everything is OK, yet. For example when I turn witness off via sysctl,
and all the scripts are running at this moment, I get a panic in
route_output() - "sleeping thread owns not-sleepable lock".
 ( while (true); do
arp -d 188.8.131.52 >/dev/null 2>&1;
ping -c 1 -t 1 184.108.40.206 >/dev/null 2>&1;
-- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE _______________________________________________ email@example.com mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "firstname.lastname@example.org"