From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: Re: how to avoid lost trace records? Date: Thu, 25 Nov 2010 22:27:38 +0000 Message-ID: References: <20101125210408.GA16766@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20101125210408.GA16766@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Olaf Hering , George Dunlap Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 25/11/2010 21:04, "Olaf Hering" wrote: > --- xen-unstable.hg-4.1.22415.orig/xen/common/trace.c > +++ xen-unstable.hg-4.1.22415/xen/common/trace.c > @@ -48,7 +48,8 @@ integer_param("tbuf_size", opt_tbuf_size > > /* Pointers to the meta-data objects for all system trace buffers */ > static struct t_info *t_info; > -#define T_INFO_PAGES 2 /* Size fixed at 2 pages for now. */ > +#define T_INFO_PAGES_ORDER 1 /* Size fixed at 2 pages for now. */ > +#define T_INFO_PAGES (1 << T_INFO_PAGES_ORDER) > #define T_INFO_SIZE ((T_INFO_PAGES)*(PAGE_SIZE)) > static DEFINE_PER_CPU_READ_MOSTLY(struct t_buf *, t_bufs); > static DEFINE_PER_CPU_READ_MOSTLY(unsigned char *, t_data); This patch looks like it has no effect whatsoever. -- Keir