From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4289BE64.8070605@shadowen.org> Date: Tue, 17 May 2005 10:50:28 +0100 From: Andy Whitcroft MIME-Version: 1.0 Subject: Re: [RFC] consistency of zone->zone_start_pfn, spanned_pages References: <1116000019.32433.10.camel@localhost> <20050513182446.GA23416@lnx-holt.americas.sgi.com> In-Reply-To: <20050513182446.GA23416@lnx-holt.americas.sgi.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Robin Holt Cc: Dave Hansen , lhms , linux-mm List-ID: Robin Holt wrote: > do { > start_pfn = zone->zone_start_pfn; > spanned_pages = zone->spanned_pages; > while (unlikely(start_pfn != zone->zone_start_pfn)); Whilst like a seq_lock, without the memory barriers this isn't safe right? -apw -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: aart@kvack.org