Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760928AbYAKMms (ORCPT ); Fri, 11 Jan 2008 07:42:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758447AbYAKMml (ORCPT ); Fri, 11 Jan 2008 07:42:41 -0500 Received: from brick.kernel.dk ([87.55.233.238]:25129 "EHLO kernel.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758065AbYAKMmk (ORCPT ); Fri, 11 Jan 2008 07:42:40 -0500 Date: Fri, 11 Jan 2008 13:42:37 +0100 From: Jens Axboe To: Ingo Molnar Cc: David Dillow , Guillaume Chazarain , linux-kernel@vger.kernel.org, linux-btrace@vger.kernel.org, mingo@redhat.com, tglx@linutronix.de Subject: Re: [patch] block: fix blktrace timestamps Message-ID: <20080111124236.GV6258@kernel.dk> References: <1199996752.9159.46.camel@lap75545.ornl.gov> <20080110234438.4826f658@inria.fr> <1200020661.5099.3.camel@obelisk.thedillows.org> <20080111090723.GI6258@kernel.dk> <20080111092334.GA8143@elte.hu> <20080111092513.GO6258@kernel.dk> <20080111094205.GE8143@elte.hu> <20080111095654.GR6258@kernel.dk> <20080111102953.GA27223@elte.hu> <20080111122802.GT6258@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080111122802.GT6258@kernel.dk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 758 Lines: 22 On Fri, Jan 11 2008, Jens Axboe wrote: > > ktime_get() should have been used instead, which is a proper GTOD > > clocksource. The patch below implements this. > > Will give it a whirl, it looks promising indeed and gets rid of the ugly > cpu sync stuff. What is the cost of ktime_get() compared to > sched_clock()? Works for me - will apply it right now, we can always evaluate any potential performance impact later. It's more important to have a functional blktrace in 2.6.24. Thanks Ingo! -- Jens Axboe -- 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/