linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christof Meerwald <cmeerw@cmeerw.org>
To: Eric Wong <normalperson@yhbt.net>,
	Alexander Viro <viro@zeniv.linux.org.uk>,
	Andrew Morton <akpm@linux-foundation.org>,
	Jason Baron <jbaron@redhat.com>,
	linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
	Paul Holland <pholland@adobe.com>,
	Davide Libenzi <davidel@xmailserver.org>,
	Michael Kerrisk <mtk.manpages@gmail.com>,
	libc-alpha@sourceware.org, linux-api@vger.kernel.org,
	paulmck@linux.vnet.ibm.com
Subject: Re: [RFC/PATCH] epoll: replace EPOLL_CTL_DISABLE with EPOLL_CTL_POKE
Date: Sat, 3 Nov 2012 02:10:31 +0100	[thread overview]
Message-ID: <20121103011031.GA22452@edge.cmeerw.net> (raw)
In-Reply-To: <20121102041312.GA15886@dcvr.yhbt.net>

On Fri, 2 Nov 2012 04:13:12 +0000, Eric Wong wrote:
[...]
> EPOLL_CTL_POKE may be used to force an item into the epoll
> ready list.  Instead of disabling an item asynchronously
> via EPOLL_CTL_DISABLE, this forces the threads calling
> epoll_wait() to handle the item in its normal loop.

That was my initial suggestion as well - see
https://lkml.org/lkml/2012/6/19/358


Christof

-- 

http://cmeerw.org                              sip:cmeerw at cmeerw.org
mailto:cmeerw at cmeerw.org                   xmpp:cmeerw at cmeerw.org

  reply	other threads:[~2012-11-03  1:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-26  0:08 [PATCH v3] epoll: Support for disabling items, and a self-test app Paton J. Lewis
2012-10-29 20:42 ` Andrew Morton
     [not found] ` <1351210112-23238-1-git-send-email-palewis-dv/VyGpifdQAvxtiuMwx3w@public.gmane.org>
2012-10-31  6:32   ` Michael Wang
2012-10-31 18:57     ` Paton J. Lewis
     [not found]       ` <5091749B.4060605-dv/VyGpifdQAvxtiuMwx3w@public.gmane.org>
2012-11-01  0:43         ` Michael Wang
2012-11-01 18:47           ` Paton J. Lewis
     [not found]             ` <5092C3B9.2070909-dv/VyGpifdQAvxtiuMwx3w@public.gmane.org>
2012-11-02  2:26               ` Michael Wang
2012-11-02  4:13 ` [RFC/PATCH] epoll: replace EPOLL_CTL_DISABLE with EPOLL_CTL_POKE Eric Wong
2012-11-03  1:10   ` Christof Meerwald [this message]
2012-11-06 21:58     ` Eric Wong

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=20121103011031.GA22452@edge.cmeerw.net \
    --to=cmeerw@cmeerw.org \
    --cc=akpm@linux-foundation.org \
    --cc=davidel@xmailserver.org \
    --cc=jbaron@redhat.com \
    --cc=libc-alpha@sourceware.org \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mtk.manpages@gmail.com \
    --cc=normalperson@yhbt.net \
    --cc=paulmck@linux.vnet.ibm.com \
    --cc=pholland@adobe.com \
    --cc=viro@zeniv.linux.org.uk \
    /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;
as well as URLs for NNTP newsgroup(s).