Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 25076 invoked from network); 12 Oct 2007 13:58:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Oct 2007 13:58:15 -0000 Received: (qmail 4480 invoked by uid 500); 12 Oct 2007 13:58:02 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 4109 invoked by uid 500); 12 Oct 2007 13:58:01 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 4100 invoked by uid 99); 12 Oct 2007 13:58:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2007 06:58:01 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of alexei.fedotov@gmail.com designates 66.249.92.170 as permitted sender) Received: from [66.249.92.170] (HELO ug-out-1314.google.com) (66.249.92.170) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2007 13:58:04 +0000 Received: by ug-out-1314.google.com with SMTP id u40so627218ugc for ; Fri, 12 Oct 2007 06:57:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=lrF/jHISVZPdTAjZHDe1h0WgG0vYdSoLto8xmmCeUgM=; b=qSlH4k0Vk5VJyf7n4ujUwp0kBC2TZR5RcpYISMQKRJrFoXjS23/MkIhPy9RY9Rh7g5Wa6KUzMDU7cbz+KjkQhW5TX5sTt7/5UPQMKQFLELOus2Y0TThCd3wWcZu6COTnL12DwgefQespSznQegFxT2YdpGsRFwwQJgxpjcq66nY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DJ/awhgN2sqgVQcwWThQnMXYOamNWdguzNbKKxDO62oaqteOqXfRkedkR/xuWNy/A/t3a3Fpca3ssmxSHWg19AAe1uxiiQza/eeQ4AsRpOFvlaGqipQODMMTJW/h/iYXuFubyUSpbRaHRkyv9HLudxqK5LMUadt5zakCblkhsKU= Received: by 10.67.28.2 with SMTP id f2mr4401364ugj.1192197463009; Fri, 12 Oct 2007 06:57:43 -0700 (PDT) Received: by 10.67.21.8 with HTTP; Fri, 12 Oct 2007 06:57:42 -0700 (PDT) Message-ID: Date: Fri, 12 Oct 2007 17:57:42 +0400 From: "Alexei Fedotov" To: dev@harmony.apache.org Subject: Re: [classlib][nio] epoll()-based Selector In-Reply-To: <4bebff790710120623x1eed5e10j90b699a923232ec5@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4bebff790710010849q3116964br7d85dc5a5b5f20a7@mail.gmail.com> <4bebff790710080246qe981904md6015aa90950fb7a@mail.gmail.com> <470DD612.8030308@gmail.com> <2c9597b90710110503h223eb1e1h600ff71e8d80fe41@mail.gmail.com> <4bebff790710120419n70710a30hf3e0a1f475692d26@mail.gmail.com> <4bebff790710120447y5ff74dd6u27a449d2358fc09e@mail.gmail.com> <2c9597b90710120558m275a0b72l10baccf9112d8802@mail.gmail.com> <4bebff790710120623x1eed5e10j90b699a923232ec5@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Hello, > If we will implement automatic switching to the epoll, then we implement runtime check and fail gently. BTW, does one consider forgetting of 2.4 kernels? This would be the most effective solution measured in lines of code. :-) Thanks. On 10/12/07, Aleksey Shipilev wrote: > Alexei, > > That's simple - if the have no _runtime_ kernel check and enable > EpollSelectionProvider then we will fail with "unresolved symbol: > epoll_*". More cleaner way will be to provide some runtime check and > fail with some clean message describing lack of epoll facility in the > running kernel. > > AFAIU, both ways should not confuse the user since epoll is turned on > manually. If we will implement automatic switching to the epoll, then > we implement runtime check and fail gently. > > Thanks, > Aleksey. > > On 10/12/07, Alexei Zakharov wrote: > > Another question is what we should do if somebody tries to use our > > regular snapshot (that was built on 2.6+ kernel) on the machine with > > older kernel. > -- With best regards, Alexei, ESSD, Intel