Re: [PATCH] epoll: preserve ordering of events from ovflist

From: Eric Wong
Date: Sun Mar 03 2013 - 22:05:08 EST


Eric Wong <normalperson@xxxxxxxx> 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(-)
--
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/