From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: slow xp hibernation revisited Date: Sat, 04 Jun 2011 08:51:53 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: James Harper , Tim Deegan Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 04/06/2011 08:38, "James Harper" 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