Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762638Ab2KCBR2 (ORCPT ); Fri, 2 Nov 2012 21:17:28 -0400 Received: from edge.cmeerw.net ([84.200.12.152]:54715 "EHLO edge.cmeerw.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756309Ab2KCBR0 (ORCPT ); Fri, 2 Nov 2012 21:17:26 -0400 X-Greylist: delayed 389 seconds by postgrey-1.27 at vger.kernel.org; Fri, 02 Nov 2012 21:17:26 EDT Date: Sat, 3 Nov 2012 02:10:31 +0100 From: Christof Meerwald To: Eric Wong , Alexander Viro , Andrew Morton , Jason Baron , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Holland , Davide Libenzi , Michael Kerrisk , libc-alpha@sourceware.org, linux-api@vger.kernel.org, paulmck@linux.vnet.ibm.com Subject: Re: [RFC/PATCH] epoll: replace EPOLL_CTL_DISABLE with EPOLL_CTL_POKE Message-ID: <20121103011031.GA22452@edge.cmeerw.net> References: <1351210112-23238-1-git-send-email-palewis@adobe.com> <20121102041312.GA15886@dcvr.yhbt.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121102041312.GA15886@dcvr.yhbt.net> X-PGP-Key: 1024D/2B10BE68, 1998-06-29 X-PGP-Fingerprint: 0289 5466 C1F5 B03C DBA7 6304 8CAF 9782 2B10 BE68 User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 777 Lines: 22 On Fri, 2 Nov 2012 04:13:12 +0000, Eric Wong wrote: [...] > EPOLL_CTL_POKE may be used to force an item into the epoll > ready list. Instead of disabling an item asynchronously > via EPOLL_CTL_DISABLE, this forces the threads calling > epoll_wait() to handle the item in its normal loop. That was my initial suggestion as well - see https://lkml.org/lkml/2012/6/19/358 Christof -- http://cmeerw.org sip:cmeerw at cmeerw.org mailto:cmeerw at cmeerw.org xmpp:cmeerw at cmeerw.org -- 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/