Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932943AbdC1NGQ (ORCPT ); Tue, 28 Mar 2017 09:06:16 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:35522 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932818AbdC1NGN (ORCPT ); Tue, 28 Mar 2017 09:06:13 -0400 Date: Tue, 28 Mar 2017 15:06:04 +0200 From: Frederic Weisbecker To: Peter Zijlstra Cc: Wanpeng Li , Jesper Dangaard Brouer , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , linux-mm , Mel Gorman , Tariq Toukan , Tariq Toukan , Rik van Riel , Thomas Gleixner , Ingo Molnar Subject: Re: Bisected softirq accounting issue in v4.11-rc1~170^2~28 Message-ID: <20170328130602.GA4216@lerouge> References: <20170328101403.34a82fbf@redhat.com> <20170328122642.dhw2zkjbghfw4fzn@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170328122642.dhw2zkjbghfw4fzn@hirez.programming.kicks-ass.net> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 485 Lines: 12 On Tue, Mar 28, 2017 at 02:26:42PM +0200, Peter Zijlstra wrote: > On Tue, Mar 28, 2017 at 06:34:52PM +0800, Wanpeng Li wrote: > > > > sched_clock_cpu(cpu) should be converted from cputime to ns. > > Uhm, no. sched_clock_cpu() returns u64 in ns. Yes, and most of the cputime_t have been converted to u64 so there should be no such conversion issue between u64 and cputime_t anymore. Perhaps my commit has another side effect on softirq time accounting, I'll see if I can reproduce.