Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965116AbVLVJSN (ORCPT ); Thu, 22 Dec 2005 04:18:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965145AbVLVJSN (ORCPT ); Thu, 22 Dec 2005 04:18:13 -0500 Received: from mverd138.asia.info.net ([61.14.31.138]:20574 "EHLO kao2.melbourne.sgi.com") by vger.kernel.org with ESMTP id S965116AbVLVJSN (ORCPT ); Thu, 22 Dec 2005 04:18:13 -0500 X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.1 From: Keith Owens To: Nicolas Pitre cc: Daniel Jacobowitz , Linus Torvalds , Ingo Molnar , lkml , Andrew Morton , Arjan van de Ven , Jes Sorensen , Zwane Mwaikambo , Oleg Nesterov , David Howells , Alan Cox , Benjamin LaHaise , Steven Rostedt , Christoph Hellwig , Andi Kleen , Russell King Subject: Re: [patch 3/8] mutex subsystem, add atomic_*_call_if_*() to i386 In-reply-to: Your message of "Wed, 21 Dec 2005 15:54:13 CDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 22 Dec 2005 20:18:07 +1100 Message-ID: <19454.1135243087@kao2.melbourne.sgi.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1077 Lines: 28 On Wed, 21 Dec 2005 15:54:13 -0500 (EST), Nicolas Pitre wrote: >On Wed, 21 Dec 2005, Daniel Jacobowitz wrote: > >> This new macro is only going to be used in x86-specific files, right? >> There's no practical way to implement this on lots of other >> architectures. > >The default implementation does the call in C. > >> Embedding a call in asm("") can break other things too - for instance, >> unwind tables could become inaccurate. > >I doubt unwind tables are used at all for the kernel, are they? Yes they are. ia64 absolutely requires accurate unwind tables, it is part of the ABI. x86_64 is tending towards requiring accurate CFI data. Without valid unwind tables, backtraces are flakey at best. The lack of decent kernel unwind for i386 is one of the reasons that kdb backtrace for i386 is so horrible. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/