From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753256AbbKLG7k (ORCPT ); Thu, 12 Nov 2015 01:59:40 -0500 Received: from LGEAMRELO12.lge.com ([156.147.23.52]:40845 "EHLO lgeamrelo12.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751006AbbKLG7j (ORCPT ); Thu, 12 Nov 2015 01:59:39 -0500 X-Original-SENDERIP: 156.147.1.126 X-Original-MAILFROM: byungchul.park@lge.com X-Original-SENDERIP: 10.177.222.33 X-Original-MAILFROM: byungchul.park@lge.com Date: Thu, 12 Nov 2015 15:59:32 +0900 From: Byungchul Park To: mingo@kernel.org, peterz@infradead.org Cc: linux-kernel@vger.kernel.org, efault@gmx.de, tglx@linutronix.de, fweisbec@gmail.com Subject: Re: [PATCH v5 0/2] sched: consider missed ticks when updating cpu load Message-ID: <20151112065932.GG7136@byungchulpark-X58A-UD3R> References: <1447115762-19734-1-git-send-email-byungchul.park@lge.com> <20151111093810.GB7136@byungchulpark-X58A-UD3R> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151111093810.GB7136@byungchulpark-X58A-UD3R> 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 On Wed, Nov 11, 2015 at 06:38:10PM +0900, Byungchul Park wrote: > On Tue, Nov 10, 2015 at 09:36:00AM +0900, byungchul.park@lge.com wrote: > > From: Byungchul Park > > > > change from v4 to v5 > > - fix comments and commit message > > - take new_load into account in update_cpu_load_nohz() and __update_cpu_load() > > because it's non-zero in NOHZ_FULL > > > > change from v3 to v4 > > - focus the problem on full NOHZ > > > > change from v2 to v3 > > - add a patch which make __update_cpu_load() handle active tickless > > > > change from v1 to v2 > > - add some additional commit message (logic is same exactly) > > > > additionally i tried to use the return value of hrtimer_forward() instead of > > jiffies to get pending tick for updating cpu load. it's easy for > > update_cpu_load_nohz() to do that. but for update_idle_cpu_load(), i need > > more time to think about how to implement it nicely. > > Actually because of update_idle_load() which is used when doing nohz > load balancing while the cpu has been still tick-stopped, this looks > not be able to be implemented without any kind of last_update_xxx ^^^ last_load_update_tick > variable. What do you think about it, Peter? > > > > > and i will try to fix other stuffs caused by full NOHZ later with another > > patch. i decided to send this patch at first because "cpu load update" is a > > standalone problem which is not coupled with other stuffs. > > > > Byungchul Park (2): > > sched: make __update_cpu_load() handle NOHZ_FULL tickless > > sched: make update_cpu_load_nohz() consider missed ticks in NOHZ_FULL > > > > include/linux/sched.h | 4 ++-- > > kernel/sched/fair.c | 57 +++++++++++++++++++++++++++++++++++++--------- > > kernel/time/tick-sched.c | 8 +++---- > > 3 files changed, 52 insertions(+), 17 deletions(-) > > > > -- > > 1.7.9.5 > > > > -- > > 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/ > -- > 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/