Re: select() efficiency / epoll

From: Davy Durham
Date: Tue Aug 23 2005 - 13:59:02 EST


bert hubert wrote:

On Tue, Aug 23, 2005 at 04:49:14AM -0500, Davy Durham wrote:



However, I'm getting segfaults because some pointers in places are getting set to low integer values (which didn't used to have those values).



epoll is pretty heavily benchmarked and hence tested. I don't entirely
understand the remark above and suggest looking at the generated core dumps.



I just mean that when I debug and catch the segv, it's dies because some pointers now have corrupted values. (usually because something is overwriting some memory some where)

I'm currently re-writing some code to make it use select() instead of epoll_wait() and see if everything is suddently fixed. If so, then I will suspect that epoll has a problem. But it's still not ruled out being my fault since it could be a timing issue that makes the crash show up.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/