From: Wei Liu Subject: Re: [PATCH 2/2] Switch to poll() in cxenstored's IO loop Date: Tue, 12 Mar 2013 15:34:02 +0000 Message-ID: <1363102442.29093.98.camel@zion.uk.xensource.com> References: <1361358309-32191-1-git-send-email-wei.liu2@citrix.com> <1361358309-32191-3-git-send-email-wei.liu2@citrix.com> <1363102042.32410.8.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1363102042.32410.8.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: wei.liu2@citrix.com, "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Tue, 2013-03-12 at 15:27 +0000, Ian Campbell wrote: > On Wed, 2013-02-20 at 11:05 +0000, Wei Liu wrote: > > Poll() can support more file descriptors than select(). We've done this for > > xenconsoled, now do this for cxenstored as well. > > Have you checked that the issue(s) Andrew Cooper found in the consoled > patch haven't been carried over? > Yes I have checked, this patch is OK because it zero out all fields when allocating structure. But please do not apply this patch, I need to tuning the event handling logic because I found out if a fd goes wrong it could make the event loop active all the time, consuming 100% cpu. Wei. > Ian. > >