From: Ian Campbell Subject: Re: [xen-unstable bisection] complete test-amd64-amd64-xl Date: Thu, 17 Jan 2013 13:53:34 +0000 Message-ID: <1358430814.13856.67.camel@zakaz.uk.xensource.com> References: <1358172537.5633.7.camel@iceland> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1358172537.5633.7.camel@iceland> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu Cc: "Keir (Xen.org)" , "xen-devel@lists.xensource.com" , Ian Jackson , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Mon, 2013-01-14 at 14:08 +0000, Wei Liu wrote: [...] > Subject: [PATCH] Switch from select() to poll() in xenconsoled's IO loop > > In Linux select() typically supports up to 1024 file descriptors. This can be > a problem when user tries to boot up many guests. Switching to poll() has > minimum impact on existing code and has better scalibility. > > pollfd array is dynamically allocated / reallocated. If the array fails to > expand, we just ignore the incoming fd. > > Updated: reset *_pollfd after use. > > This fixes regression 14869. > > Also remove unused slave_pollfd in strcut domain. > > Signed-off-by: Wei Liu Acked + applied.