Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756798AbYH2QTn (ORCPT ); Fri, 29 Aug 2008 12:19:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753128AbYH2QTe (ORCPT ); Fri, 29 Aug 2008 12:19:34 -0400 Received: from one.firstfloor.org ([213.235.205.2]:44788 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752012AbYH2QTe (ORCPT ); Fri, 29 Aug 2008 12:19:34 -0400 Date: Fri, 29 Aug 2008 18:22:16 +0200 From: Andi Kleen To: Gregory Haskins Cc: Andi Kleen , Gregory Haskins , mingo@elte.hu, rostedt@goodmis.org, tglx@linutronix.de, linux-kernel@vger.kernel.org, linux-rt-users@vger.kernel.org Subject: Re: [PATCH] seqlock: serialize against writers Message-ID: <20080829162216.GW26610@one.firstfloor.org> References: <20080829154237.1196.66825.stgit@dev.haskins.net> <87abevpzv7.fsf@basil.nowhere.org> <48B81F60.3080409@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48B81F60.3080409@gmail.com> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 660 Lines: 16 > Im running it on a x86_64 box as we speak. How can I tell if there is a > certain mode that is permitting this? If the boot up says you're running with PMtimer then it uses the fallback (usually happens on pre Fam10h AMD boxes). A typical Intel box would use the faster ring 3 only TSC path and then explode with your change I bet. Or step with gdb through gettimeofday() and see if it does a syscall. -Andi -- 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/