Date: Wed, 11 Aug 2004 15:01:46 -0700 From: Colin Percival <colin.percival@wadham.ox.ac.uk> To: Andre Oppermann <andre@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet ip_divert.c raw_ip.c tcp_subr.c tcp_syncache.c udp_usrreq.c Message-ID: <6.1.0.6.1.20040811145749.03f62170@popserver.sfu.ca> In-Reply-To: <200408112030.i7BKU8oa085510@repoman.freebsd.org> References: <200408112030.i7BKU8oa085510@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
At 13:30 11/08/2004, Andre Oppermann wrote: > Backout removal of UMA_ZONE_NOFREE flag for all zones which are established > for structures with timers in them. It might be that a timer might fire > even when the associated structure has already been free'd. Have you considered converting the callout_stop calls to callout_drain calls? (I don't know if it's possible here, since callout_drain sometimes picks up a sleep mutex. But killing callouts before freeing data structures is exactly the problem for which callout_drain was created.) Colin Percival
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.1.0.6.1.20040811145749.03f62170>