Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2001 12:02:39 -0600
From:      Larry Rosenman <ler@lerctr.org>
To:        stable@FreeBSD.ORG
Subject:   Re: DNS & kqread (kq in general)
Message-ID:  <20010228120239.A28918@lerami.lerctr.org>
In-Reply-To: <20010228095439.P20550@prism.flugsvamp.com>; from jlemon@flugsvamp.com on Wed, Feb 28, 2001 at 09:54:39AM -0600
References:  <20010228095439.P20550@prism.flugsvamp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Jonathan Lemon <jlemon@flugsvamp.com> [010228 09:56]:
> I"ve committed a fix for the problem where DNS hangs or takes 
> a long time to resolve (the process gets stuck in kqread).
> 
> In the last kqueue update, I added a new filter-specific flag to
> the read/write filters, which allows the filter to specify its
> own read/write watermarks.  However, since this flag was previously
> unused, if you do not initialize the structure to zero, you may
> get unexpected results.
> 
> To that end, I'd encourage kqueue users to review their code and
> make sure that the structure is completely initialized.  A new 
> a new convenience macro EV_SET() was also added to <sys/event.h>
> which should also assist this process.
This fix fixes my -STABLE system. 

Welcome to FreeBSD!
$ ./x
And the answer is: beast.icomtek.csir.co.za
And the answer is: beast.icomtek.csir.co.za
$ cc -O -o x x.c
$ ./x
And the answer is: beast.icomtek.csir.co.za
And the answer is: beast.icomtek.csir.co.za
$ time ./x
And the answer is: beast.icomtek.csir.co.za
And the answer is: beast.icomtek.csir.co.za
    0.00s real     0.00s user     0.00s system
$

> --
> Jonathan
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message
-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010228120239.A28918>