From: Marc-Christian Petersen <m.c.p@wolk-project.de>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: Davide Libenzi <davidel@xmailserver.org>
Subject: Re: [patch][bugfix] epoll cross-thread deletion fix ...
Date: Thu, 27 Mar 2003 18:19:58 +0100 [thread overview]
Message-ID: <200303271819.58713.m.c.p@wolk-project.de> (raw)
In-Reply-To: <Pine.LNX.4.50.0303261210470.2114-100000@blue1.dev.mcafeelabs.com>
On Wednesday 26 March 2003 21:20, Davide Libenzi wrote:
Hi Davide,
> This fixes a bug that might happen having a thread doing epoll_wait() with
> another thread doing epoll_ctl(EPOLL_CTL_DEL) and close(). The fast check
> inside eventpoll_release() is good to not effect performace of code not
> using epoll, but it requires get_file() to be called ( that can be avoided
> by dropping the fast check ). I opted to keep the fast check and to have
> epoll to call get_file() before the event send loop. I tested it on UP and
> 2SMP with a bug-exploiting program provided by @pivia.com ( thx to them )
> and it looks fine. I also update the 2.4.20 epoll patch with this fix :
>
> http://www.xmailserver.org/linux-patches/epoll-lt-2.4.20-0.5.diff
so this is v0.63?
ciao, Marc
next prev parent reply other threads:[~2003-03-27 17:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-26 20:20 Davide Libenzi
2003-03-27 17:19 ` Marc-Christian Petersen [this message]
2003-03-27 18:03 ` Davide Libenzi
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=200303271819.58713.m.c.p@wolk-project.de \
--to=m.c.p@wolk-project.de \
--cc=davidel@xmailserver.org \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®