From: Davy Durham <pubaddr2@davyandbeth.com>
To: Jari Sundell <sundell.software@gmail.com>
Cc: bert hubert <bert.hubert@netherlabs.nl>, linux-kernel@vger.kernel.org
Subject: Re: select() efficiency / epoll
Date: Tue, 23 Aug 2005 12:11:07 -0500 [thread overview]
Message-ID: <430B58AB.2060704@davyandbeth.com> (raw)
In-Reply-To: <b3f2685905082313423080e4e4@mail.gmail.com>
Jari Sundell wrote:
>On 8/23/05, Davy Durham <pubaddr2@davyandbeth.com> wrote:
>
>
>I was hoping you would mention in your reply that you knew
>epoll_data_t was an union and you didn't touch epoll_data::fd, so i
>wouldn't have to say it explicitly. ;)
>
>
>
No, I saw that epoll_data_t was a union (although, it kind of makes the
ptr useless as a user data pointer.. but I'm not using it for that)
When I mean that pointers are getting corrupted, I just mean in other
parts of the code (actually it's some C++ STL container's data and is
completely unrelated to the epoll specific code) Something, somewhere
seems to be writing to memory that it's not supposed to be writing to.
And as far as I can tell, it happens when I use epoll and doesn't when I
use select :-/
-- Davy
next prev parent reply other threads:[~2005-08-24 1:09 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-22 21:18 select() efficiency Davy Durham
2005-07-22 21:24 ` bert hubert
2005-08-23 9:49 ` select() efficiency / epoll Davy Durham
2005-08-23 18:24 ` bert hubert
2005-08-23 11:01 ` Davy Durham
2005-08-23 11:25 ` Davy Durham
2005-08-23 19:12 ` Willy Tarreau
2005-08-23 11:24 ` Davy Durham
2005-08-23 19:45 ` Willy Tarreau
2005-08-23 11:55 ` Davy Durham
2005-08-23 20:20 ` Willy Tarreau
2005-08-23 23:21 ` Davide Libenzi
2005-08-23 17:08 ` Davy Durham
2005-08-24 5:09 ` Davide Libenzi
2005-08-23 22:35 ` Davy Durham
2005-08-23 19:30 ` Jari Sundell
2005-08-23 11:53 ` Davy Durham
2005-08-23 20:42 ` Jari Sundell
2005-08-23 17:11 ` Davy Durham [this message]
2005-08-23 17:40 ` Davy Durham
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=430B58AB.2060704@davyandbeth.com \
--to=pubaddr2@davyandbeth.com \
--cc=bert.hubert@netherlabs.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=sundell.software@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox