Messages in this thread | | | Date | Mon, 4 Mar 2013 03:05:00 +0000 | From | Eric Wong <> | Subject | Re: [PATCH] epoll: preserve ordering of events from ovflist |
| |
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(-)
| |