Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753281AbbLNRwF (ORCPT ); Mon, 14 Dec 2015 12:52:05 -0500 Received: from mail-pa0-f43.google.com ([209.85.220.43]:33675 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752601AbbLNRwC (ORCPT ); Mon, 14 Dec 2015 12:52:02 -0500 From: bsegall@google.com To: Morten Rasmussen Cc: Dietmar Eggemann , Andrey Ryabinin , Peter Zijlstra , mingo@redhat.com, linux-kernel@vger.kernel.org, yuyang.du@intel.com, Paul Turner Subject: Re: [PATCH] sched/fair: fix mul overflow on 32-bit systems References: <1449838518-26543-1-git-send-email-aryabinin@virtuozzo.com> <20151211132551.GO6356@twins.programming.kicks-ass.net> <20151211133612.GG6373@twins.programming.kicks-ass.net> <566AD6E1.2070005@virtuozzo.com> <20151211175751.GA27552@e105550-lin.cambridge.arm.com> <566B16D8.2060109@arm.com> <20151214123253.GA9870@e105550-lin.cambridge.arm.com> Date: Mon, 14 Dec 2015 09:51:58 -0800 In-Reply-To: <20151214123253.GA9870@e105550-lin.cambridge.arm.com> (Morten Rasmussen's message of "Mon, 14 Dec 2015 12:32:54 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 986 Lines: 22 Morten Rasmussen writes: > On Fri, Dec 11, 2015 at 11:18:56AM -0800, bsegall@google.com wrote: >> So uh yeah, my initial impression is "rip it out", but if being >> immediately-correct is important in the case of one task being most of >> the utilization, rather than when it is more evenly distributed, it >> would probably make more sense to instead put in the add-on-enqueue >> code. > > I would prefer if stayed in. There are several patch sets posted for > review that use util_avg. Yeah, I missed the attach call on enqueue, which means my argument is basically invalid, as the code is sensible enough at the moment ("rip it out" was meant to refer only to the remove-on-migrate, not the whole util_avg). -- 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/