[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] slow xp hibernation revisited


  • To: James Harper <james.harper@xxxxxxxxxxxxxxxx>, Tim Deegan <Tim.Deegan@xxxxxxxxxx>
  • From: Keir Fraser <keir.xen@xxxxxxxxx>
  • Date: Sat, 04 Jun 2011 08:51:53 +0100
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Sat, 04 Jun 2011 00:52:39 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=Ncv0BUAlwoBdIDKA8Um6Z5JrkFConCfofkGmPezQI3S14uaT/CEjizvaZXoSLCpErp ZWQ+l0UE+hJz8dW1/V2UWlkhp9+BKf2goaGQAhwrMY5iEQhprWmfgTqmAbY+brMfabmb aKtt+7WfqKJa5le7PrqAo4kjiUzEKrPYma3OA=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcwiBQi9TTmL+VIUTGmHL1mgnlOPmgAak8qgAADdoAAAA9fn5AABgqJAAAEDCUw=
  • Thread-topic: [Xen-devel] slow xp hibernation revisited

On 04/06/2011 08:38, "James Harper" <james.harper@xxxxxxxxxxxxxxxx> wrote:

> Looking past the test_bit call, the next statement does another test and
> sets last_address_index to 0 and returns NULL. Is this just to ensure
> that the next access isn't just trivially accepted?

Yes, first test is on a potentially stale bucket. Second test is on a fresh
bucket.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.