Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp4089352ybl; Tue, 20 Aug 2019 06:53:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqz9ZwzXpScGBA2Z2AzIwy502oz/2uJ4eSmN1SAN9qTozoedkQnxLvu5hrJukoULIQNRwRWU X-Received: by 2002:a63:a35e:: with SMTP id v30mr23995208pgn.129.1566309236000; Tue, 20 Aug 2019 06:53:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566309235; cv=none; d=google.com; s=arc-20160816; b=pGkM9GMG5dYS9k10Pi9X8AJrT12CjmiTUdiQbgG3bX5rf5yBX1uTNlPg0Ih4wqKrCI +cNEIWdu/zDH+58bDU6vGeH/VvIwhfKMEqNpS8kLPQLATNhLrKTLbI7w+Bplynex9K6B 8/m2C0D1WWmykKeZxvMH36D4N1lG4NOuj+h7f7c0lbDq74HK0h1YUGAdJBT1G17RhJlS mAeJDCE1qZsmeLtTfA1bsjozrVQHGtxyb+qX/D75QfGmfcTsEODjjlra9g3uD6YyrCyj 2wHuXgBeN3cuPboRIVmoGLn0nwJPsip5y2c3EdNYOsY8WWtXFX3hV5PfxRGSVPYVqJil 9y1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=BJdushshRjE5p6pk+gXX+Jze6GPE/XvH4hIjY3sz1Io=; b=UBUxvfZr16igCYg4d+tkf8BG3vuHjL/7mbLByZqgh0dl+gtIolFHgGI+nAcl7MwUgp wIP91zp24SpuNmOOzt3R29N128ZYzR66X+YoDo/3Fv5SnezsE2bm5sWmyhRY4B1zHCtR T4wSUt/AKcG0VUot4b5JOtCnkjDO3hQoyiVWRQjs91qoAE2FzrvXOfDESbq3f2d5iRZB Rrq3JjFcjH6+yR38dRwMlNFNg4rRxWQTaEvhZJwJlZ59J8bPFpUusf3zmVZPuAbg/RIg X8Arvoo7e4aOgibkZcKA26WBKNtVOPW5DcPEdbGnDMo7KUmkz/AGCL3yIKasqri5qP7M jfog== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=sWWF5c1P; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gb16si7218896plb.389.2019.08.20.06.53.40; Tue, 20 Aug 2019 06:53:55 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=sWWF5c1P; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730082AbfHTNu6 (ORCPT + 99 others); Tue, 20 Aug 2019 09:50:58 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:42076 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729912AbfHTNu6 (ORCPT ); Tue, 20 Aug 2019 09:50:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=BJdushshRjE5p6pk+gXX+Jze6GPE/XvH4hIjY3sz1Io=; b=sWWF5c1P8YfknP1iIVs5v22XX dGeYhiHH3XNFfonW0VZL9Oc2mAbAYd/gzbl1MaygtGlZNEfXTMqOhnUs1eKyvvseN5Hxq9MeBSvmx Zka9xle4Ohkx79zl88Z9qygMJG3rwUHhtFOpSs0lc38HX3bFsus+7ghx3vASS9PXSN9X2P7TtZmfS ABCISbJ7wUDW5bGNotwRcwWRTzUcLOL5+RALR8INQiOHp+QI/9W8NL8Eym0HKFheWAf7B0drq14Nc ufg26bfYUMUOLzZtjCMPRK4htLt2N6OQQ1A6sPtX+BZ4ROUOWzWd3bbdKlG78vM7sHPPJ9FFg3v6D Vly6hpMlA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1i04XJ-0000ST-5X; Tue, 20 Aug 2019 13:50:57 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 1FB4330785A; Tue, 20 Aug 2019 15:50:24 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 64AC620A99A00; Tue, 20 Aug 2019 15:50:55 +0200 (CEST) Date: Tue, 20 Aug 2019 15:50:55 +0200 From: Peter Zijlstra To: Peng Liu Cc: linux-kernel@vger.kernel.org, mingo@redhat.com Subject: Re: [PATCH] sched/fair: eliminate redundant code in sched_slice() Message-ID: <20190820135055.GR2332@hirez.programming.kicks-ass.net> References: <20190816141202.GA3135@iZj6chx1xj0e0buvshuecpZ> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190816141202.GA3135@iZj6chx1xj0e0buvshuecpZ> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 16, 2019 at 10:12:02PM +0800, Peng Liu wrote: > Since sched_slice() is used in high frequency, > small change should also make sense. An actual Changelog would also make sense; but alas.