From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hagen Paul Pfeifer Subject: Re: [PATCH Resend] epoll: add EPOLLEXCLUSIVE support Date: Thu, 29 Mar 2012 17:05:41 +0200 Message-ID: <20120329150541.GB3173@hell> References: <1332943060-18374-1-git-send-email-hagen@jauu.net> <20120328162108.GB2381@redhat.com> <20120328195848.GA5331@hell> <20120329141653.GA2424@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: richard -rw- weinberger , torvalds@linux-foundation.org, LKML , Al Viro , Lucas De Marchi , Andrew Morton , linux-fsdevel@vger.kernel.org, eric.dumazet@gmail.com To: Jason Baron Return-path: Received: from alternativer.internetendpunkt.de ([88.198.24.89]:33491 "EHLO geheimer.internetendpunkt.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1759504Ab2C2PFn (ORCPT ); Thu, 29 Mar 2012 11:05:43 -0400 Content-Disposition: inline In-Reply-To: <20120329141653.GA2424@redhat.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: * Jason Baron | 2012-03-29 10:16:53 [-0400]: >Right, for level triggered events, they all wait up. However, if you use >edge triggered, ie add 'EPOLLET', then the event gets 'consumed' by the >first thread that wakes up, and the subseqent waiters wouldn't get woken >up. IE you'll get one wakeup. I addressed level triggered, right - it match the model. But I don't wanted to wake up every every thread anyway. I don't want to abandon level triggered functioning. Any objective against this flag? Hagen