Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267713AbUIOWod (ORCPT ); Wed, 15 Sep 2004 18:44:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267739AbUIOWnI (ORCPT ); Wed, 15 Sep 2004 18:43:08 -0400 Received: from hqemgate00.nvidia.com ([216.228.112.144]:36363 "EHLO hqemgate00.nvidia.com") by vger.kernel.org with ESMTP id S267721AbUIOWmh convert rfc822-to-8bit (ORCPT ); Wed, 15 Sep 2004 18:42:37 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT Subject: RE: [PATCH] remove LOCK_SECTION from x86_64 spin_lock asm Date: Wed, 15 Sep 2004 15:42:19 -0700 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH] remove LOCK_SECTION from x86_64 spin_lock asm Thread-Index: AcSbc27pm3lSQbAiQQOmUQyxWTcFCAAATW7g From: "Andrew Chew" To: "Ingo Molnar" , "Andrew Morton" Cc: "Zwane Mwaikambo" , , , X-OriginalArrivalTime: 15 Sep 2004 22:42:22.0666 (UTC) FILETIME=[43F27AA0:01C49B75] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 811 Lines: 16 > > If you enable profiling and frame pointers, profile_pc() goes splat > > dereferencing the `regs' argument when it decides that the > pc refers > > to a lock section. Ingo said `regs' had a value of 0x2, iirc. > > Consider this a bug report ;) I've been seeing this as well, although I'm pretty sure I have profiling disabled. Are you sure it isn't the combination of SMP support and frame pointers that causes this bug to occur? (It looks like profile_pc() takes on a different implementation only if both CONFIG_SMP and CONFIG_FRAME_POINTER is defined.) - 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/