Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755228Ab3CDDFD (ORCPT ); Sun, 3 Mar 2013 22:05:03 -0500 Received: from dcvr.yhbt.net ([64.71.152.64]:42958 "EHLO dcvr.yhbt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754962Ab3CDDFB (ORCPT ); Sun, 3 Mar 2013 22:05:01 -0500 Date: Mon, 4 Mar 2013 03:05:00 +0000 From: Eric Wong To: Davide Libenzi Cc: Al Viro , Andrew Morton , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] epoll: preserve ordering of events from ovflist Message-ID: <20130304030500.GA29365@dcvr.yhbt.net> References: <20130302072508.GA19297@dcvr.yhbt.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130302072508.GA19297@dcvr.yhbt.net> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 972 Lines: 23 Eric Wong 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/