From: Keir Fraser Subject: Re: [PATCH] get_current() called before set_current() Date: Tue, 31 Aug 2004 20:41:38 +0100 Sender: xen-devel-admin@lists.sourceforge.net Message-ID: References: Return-path: In-Reply-To: Your message of "Tue, 31 Aug 2004 13:19:37 MDT." Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Charles Coffing Cc: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org Thanks, I've checked it in. It's interesting that noone in Cambridge saw the problem when using a debug build. My guess is that we only ever momentarily cycle the power on our test boxes, and the stack happens to live in an area of memory untouched by our boot process. :-) -- Keir > The recent change that added debugging to spinlocks (cset 1.1278.1.1) > caused get_current() to be called earlier in the boot process. In fact, > it is now called before set_current(). > > If assertions are compiled in, this ultimately causes a triple fault > when Xen tries to print the banner. If assertions aren't compiled in, > memory corruption results (although currently this corruption appears to > be benign.) > > The attached patch moves the first set_current() call a bit earlier in > the boot process. ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click