From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752006Ab2GZILw (ORCPT ); Thu, 26 Jul 2012 04:11:52 -0400 Received: from casper.infradead.org ([85.118.1.10]:54245 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750867Ab2GZILt convert rfc822-to-8bit (ORCPT ); Thu, 26 Jul 2012 04:11:49 -0400 Message-ID: <1343290299.26034.84.camel@twins> Subject: Re: [RFC] page-table walkers vs memory order From: Peter Zijlstra To: Hugh Dickins Cc: "Paul E. McKenney" , Linus Torvalds , Rik van Riel , Andrew Morton , Nick Piggin , Andrea Arcangeli , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org Date: Thu, 26 Jul 2012 10:11:39 +0200 In-Reply-To: References: <1343064870.26034.23.camel@twins> <20120725175628.GH2378@linux.vnet.ibm.com> <20120725211217.GR2378@linux.vnet.ibm.com> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Mailer: Evolution 3.2.2- Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2012-07-25 at 15:09 -0700, Hugh Dickins wrote: > We find out after it hits us, and someone studies the disassembly - > if we're lucky enough to crash near the origin of the problem. This is a rather painful way.. see https://lkml.org/lkml/2009/1/5/555 we were lucky there in that the lack of ACCESS_ONCE() caused an infinite loop so we knew exactly where we got stuck.