mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Eric Wong <normalperson@yhbt.net>
To: Davide Libenzi <davidel@xmailserver.org>
Cc: Al Viro <viro@ZenIV.linux.org.uk>,
	Andrew Morton <akpm@linux-foundation.org>,
	linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] epoll: preserve ordering of events from ovflist
Date: Mon, 4 Mar 2013 03:05:00 +0000	[thread overview]
Message-ID: <20130304030500.GA29365@dcvr.yhbt.net> (raw)
In-Reply-To: <20130302072508.GA19297@dcvr.yhbt.net>

Eric Wong <normalperson@yhbt.net> wrote:
> Events arriving in ovflist are stored in LIFO order, so
> we should account for that when inserting them into rddlist.

Fwiw, I noticed this oddity because I wanted to start tracing epitem
readiness (to detect when my application is not calling epoll_wait()
fast enough).

I have two more patches coming on top of this one:

Eric Wong (2):
      epoll: hoist out duplicated wake up logic
      epoll: add tracepoints for epitem enqueue/dequeue

 fs/eventpoll.c                   |  62 +++++++++++----------
 include/linux/eventpoll.h        |   8 +++
 include/trace/events/eventpoll.h | 113 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 155 insertions(+), 28 deletions(-)

  reply	other threads:[~2013-03-04  3:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-02  7:25 Eric Wong
2013-03-04  3:05 ` Eric Wong [this message]
2013-03-04  3:06   ` [PATCH 1/2] epoll: hoist out duplicated wake up logic Eric Wong
2013-03-04  3:06     ` [PATCH 2/2] epoll: add tracepoints for epitem enqueue/dequeue Eric Wong
2013-03-08  1:32       ` 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=20130304030500.GA29365@dcvr.yhbt.net \
    --to=normalperson@yhbt.net \
    --cc=akpm@linux-foundation.org \
    --cc=davidel@xmailserver.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --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

all inboxes | Powered by JetHome®