lkml.org 
[lkml]   [2013]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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(-)


\
 
 \ /
  Last update: 2013-03-04 04:21    [W:0.048 / U:0.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site