From: Keir Fraser Subject: Re: [timer/ticks related] dom0 hang during boot on large 1TB system Date: Fri, 18 Dec 2009 07:02:55 +0000 Message-ID: References: <20091217203636.76a10aea@mantra.us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20091217203636.76a10aea@mantra.us.oracle.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: Mukesh Rathor , "Xen-devel@lists.xensource.com" Cc: Kurt Hackel , Dan Magenheimer List-Id: xen-devel@lists.xenproject.org On 18/12/2009 04:36, "Mukesh Rathor" wrote: > The other fix I thought of was to change INITIAL_JIFFIES to something > sooner. > > Would appreciate any help, I don't understand xen time management well. This isn't really Xen time code, but unchanged Linux time code. I don't know which tree you quoted the code from -- 2.6.18 has similar but not identical. Anyway, I suggest try using the jiffy-comparison macros from : time_before(), time_after(), etc. These are designed to work even when jiffies wraps. Feel free to send patch(es) for that, if you test that out and it works okay. -- Keir