From: "Jan Beulich" Subject: Re: [PATCH] less verbose tmem, was: tmem_relinquish_page: failing order= Date: Thu, 07 Jan 2010 15:07:20 +0000 Message-ID: <4B4606B80200007800028A8C@vpn.id2.novell.com> References: <4B44C1AD0200007800028797@vpn.id2.novell.com> <9e2970e4-ecac-4f02-880e-83859f69b6ca@default> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <9e2970e4-ecac-4f02-880e-83859f69b6ca@default> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dan Magenheimer Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org >>> Dan Magenheimer 06.01.10 18:13 >>> >The message is relevant if any code calling alloc_heap_pages() >for order>0 isn't able to fallback to order=3D0. All usages today >in Xen can fallback, but future calls may not, so I'd prefer >to keep the printk there at least in xen-unstable. BUT there's What makes you think so? Iirc there are several xmalloc()-s of more than a page in size (which ultimately will call alloc_heap_pages()), and those usually don't have a fallback. >no reason for the message to be logged in a released Xen >so here's a patch to ifndef NDEBUG the printk. Even in a debug build this may be really annoying: On NUMA machines, the dma_bitsize mechanism (to avoid exhausting DMA memory) can cause close to 2000 of these messages when allocating Dom0's initial memory (in the absence of a severely restricting dom0_mem, and with node 0 spanning 4G or more). This makes booting unacceptably slow, especially when using a graphical console mode. Jan