Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8472011ybi; Tue, 23 Jul 2019 09:09:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqzPEpFVMt5eoVdlOGXZp7qMvDHce2E5xNwS6abTkNd2Yhu1DhmROOYa7n+u8BJAEjK49fYk X-Received: by 2002:a17:90a:7788:: with SMTP id v8mr53686096pjk.132.1563898164972; Tue, 23 Jul 2019 09:09:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563898164; cv=none; d=google.com; s=arc-20160816; b=gvBugWlk8Gu1P15RQ4HkeEHr5DEdXl2hc8/WAOSup8mo0bBH5OjzqymgLA5TTQhp8H iaaGncXqyXNxGmBrslF/Zh9gGwAQZAC97MdQYFQesPq8qmkC3KmydfsZFc8GE9VBJEOu 6ZyEnEiD4d6vW/HrZ4sr1hnF4mEThp6mfmQ0SwEq+Y+HUXFPInkIbUmyf+tEWiSRvNB3 E07RmGnLgbBwlkXHrXotLD+jADPdn8WuFMZ7zX81CUlYD9StqS4kyblE12faUeMeYaLa f1ieSKYQcbErz4fTCFSjyor9EjGfl0TPKZ6vhHf+IXn490QVSTeA5uThCaDHxiJLdXY8 7u6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:subject; bh=p5MFEVfSKFKXUWZmDDYOuzRgaxorlkek83VDkk54CRc=; b=aqE+MaVFJf5gZCzZ30lVnn9XEz9KtDZWQAyOfukpNPgQ/hDZnRmdw842P8LgZaK+IN FoT0NUAmrGvZD4rjTdpZxBYSLLYnY/wALMQykfh9vi4q3+EdDK8KbKaFTvqVcGa10zuv t3lTob7FA5JDMuKZHIqXewYBFSM5wn7cf9wZPceOceca7vUWL4FQPHEfKMBTvN22d7O6 rDnNJTxZM1sXcxx2O5K66mo4hvZhPoJf9zA74p/QVQT3FBiHyhcvKIixXGrfROQGVjGM X8BP0SzqBuaF3SLLwHfbNWxPUfdrMdTtwunAUqQmZMlpxPBB18ssXSDZy0x6SxLerMCg ZMhA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l63si12046917pge.264.2019.07.23.09.08.44; Tue, 23 Jul 2019 09:09:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388050AbfGWGKO (ORCPT + 99 others); Tue, 23 Jul 2019 02:10:14 -0400 Received: from out30-45.freemail.mail.aliyun.com ([115.124.30.45]:39508 "EHLO out30-45.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388040AbfGWGKO (ORCPT ); Tue, 23 Jul 2019 02:10:14 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R971e4;CH=green;DM=||false|;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04420;MF=alex.shi@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0TXbg848_1563862209; Received: from IT-FVFX43SYHV2H.local(mailfrom:alex.shi@linux.alibaba.com fp:SMTPD_---0TXbg848_1563862209) by smtp.aliyun-inc.com(127.0.0.1); Tue, 23 Jul 2019 14:10:09 +0800 Subject: Re: [PATCH v3 1/2] cputime: remove duplicate code in account_process_tick Cc: Ingo Molnar , Peter Zijlstra , Frederic Weisbecker , Wanpeng Li , Thomas Gleixner , linux-kernel@vger.kernel.org References: <20190722073840.32613-1-alex.shi@linux.alibaba.com> From: Alex Shi Message-ID: Date: Tue, 23 Jul 2019 14:10:09 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190722073840.32613-1-alex.shi@linux.alibaba.com> Content-Type: text/plain; charset=gbk Content-Transfer-Encoding: 8bit To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Forget this patchset. I sent out a new 3 patches. Thanks Alex ?? 2019/7/22 ????3:38, Alex Shi ะด??: > The irqtime_account_process_tick path was introduced for precise ns irq > time account from commit abb74cefa9c6 ("sched: Export ns irqtimes > through /proc/stat") while account_process_tick still use jiffes. This > divide isn't necessary especially now both paths are ns precison. > > Move out the irqtime_account_process_tick func from IRQ_TIME_ACCOUNTING. > So it do generally same things as account_process_tick whenever if > IRQ_TIME_ACCOUNTING set or if sched_clock_irqtime enabled.