From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752458AbbHMKF5 (ORCPT ); Thu, 13 Aug 2015 06:05:57 -0400 Received: from mga11.intel.com ([192.55.52.93]:20461 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752347AbbHMKF4 (ORCPT ); Thu, 13 Aug 2015 06:05:56 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,669,1432623600"; d="scan'208";a="541109694" Date: Thu, 13 Aug 2015 10:15:28 +0800 From: Yuyang Du To: Byungchul Park Cc: Peter Zijlstra , mingo@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] sched: sync with the cfs_rq when changing sched class Message-ID: <20150813021527.GB2143@intel.com> References: <1439445355-24137-1-git-send-email-byungchul.park@lge.com> <20150813074600.GB16853@twins.programming.kicks-ass.net> <20150813082127.GO3956@byungchulpark-X58A-UD3R> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150813082127.GO3956@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 Thu, Aug 13, 2015 at 05:21:27PM +0900, Byungchul Park wrote: > > yuyang said that switched_to don't need to consider task's load because it > can have meaningless value. but i think considering task's load is better > than leaving it unattended at all. and we can also use switched_to if we > consider task's load in switched_to. when did I say "don't need to consider..."? Doing more does not mean better, or just trivial. BTW, the task switched_to does not have to be switched_from before.