From: "Stephen C. Tweedie" Subject: Re: [PATCH] add printf_ratelimit Date: Mon, 02 Oct 2006 22:55:51 +0100 Message-ID: <1159826151.10528.56.camel@sisko.scot.redhat.com> References: <452140B2.3060307@redhat.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <452140B2.3060307@redhat.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Steven Rostedt Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Hi, On Mon, 2006-10-02 at 12:39 -0400, Steven Rostedt wrote: > I sent this patch back on 9/19 and it never went anywhere. I'm sending > it again, against the lastest unstable. > If someone turns on verbose and/or debug the hypervisor slams the serial > pretty badly when starting a FV domain. So I pulled the > printk_ratelimit from Linux and put it into the hypervisor. Right now > the only user of it is the MEM_LOG in arch/x86/mm.c which can really > spit out a lot. A *lot*. With serial console, starting an HVM domain can take 30 seconds for me just because of these log messages. Rate-limiting is necessary for such cases. --Stephen