Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Sep 2001 22:26:36 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        mike varga <mike.varga@cavium.com>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: kevent hangs
Message-ID:  <3BA97E0C.7FF390BE@mindspring.com>
References:  <00dd01c14164$c54b3560$4a10a8c0@stcla1.sfba.home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> mike varga wrote:
> 
> I opted to break the changelist
> and eventlist into 2 seperate calls.
> 
> When I make the first call to add the
> changelist, the call to kevent hangs.
> 
> Does anyone know what is wrong?

Does it hang forever, or does it hang fdor 2 seconds (the
timeout you specified)?

In general, splitting the calls is probably not a good idea,
since it doubles your system call overhead for work you have
to do anyway.

You might want to try it against /dev/null; it may be that
your device driver writes end up being synchronous for the
driver you are doing, and they may need to be reworked.

The closest drivers to your hardware aren't network cards,
they are actually sound card drivers.

-- Terry

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BA97E0C.7FF390BE>