DragonFly commits List (threaded) for 2007-04
DragonFly BSD
DragonFly commits List (threaded) for 2007-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/netinet tcp_input.c


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Thu, 19 Apr 2007 17:31:44 +0200
Mail-followup-to: commits@crater.dragonflybsd.org

On Wed, Apr 18, 2007 at 08:36:32PM -0700, Matthew Dillon wrote:
>     It is starting to make more sense.  I think what is happening is that
>     a callout timer is getting held up long enough for the TCP state to
>     change radically, due to the huge netstat -an, whos data is being loaded
>     via a sysctl.  I committed a fix for one related problem to HEAD but I
>     don't know if it is the one causing the crash.  Another possibility is
>     that the callout code is not properly detecting when a callout gets
>     ripped out from under it after blocking on the big giant lock.

Can't you just explicitly release and reacquire giant in the sysctl? It
should be MP safe already.

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]