Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752186Ab3JSQUS (ORCPT ); Sat, 19 Oct 2013 12:20:18 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:60131 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751041Ab3JSQUQ (ORCPT ); Sat, 19 Oct 2013 12:20:16 -0400 Date: Sat, 19 Oct 2013 18:20:12 +0200 From: Frederic Weisbecker To: Peter Zijlstra Cc: Oleg Nesterov , LKML , Fernando Luis Vazquez Cao , Tetsuo Handa , Thomas Gleixner , Ingo Molnar , Andrew Morton , Arjan van de Ven Subject: Re: [PATCH 4/5] sched: Refactor iowait accounting Message-ID: <20131019162011.GB13534@localhost.localdomain> References: <1382195841-6558-1-git-send-email-fweisbec@gmail.com> <1382195841-6558-5-git-send-email-fweisbec@gmail.com> <20131019153535.GA2490@laptop.programming.kicks-ass.net> <20131019160235.GA13534@localhost.localdomain> <20131019160517.GB2490@laptop.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131019160517.GB2490@laptop.programming.kicks-ass.net> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 759 Lines: 17 On Sat, Oct 19, 2013 at 06:05:17PM +0200, Peter Zijlstra wrote: > On Sat, Oct 19, 2013 at 06:02:37PM +0200, Frederic Weisbecker wrote: > > > I just had a look at delayacct; wth wrote that crap; that too uses > > > gtod. > > > > I can't find where it does that. kernel/delayacct.c doesn't seem to at least. > > Look for do_posix_clock_monotonic_gettime() ;-) Oh. Well that's a good news, it appears to be a nice low hanging fruit :) Also perhaps we could make it use the same timestamp as cpu_iowait_start/end. -- 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/