From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755811AbcEaGaW (ORCPT ); Tue, 31 May 2016 02:30:22 -0400 Received: from mga09.intel.com ([134.134.136.24]:18593 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752361AbcEaGaT (ORCPT ); Tue, 31 May 2016 02:30:19 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,394,1459839600"; d="scan'208";a="113230215" From: Yuyang Du To: peterz@infradead.org, mingo@kernel.org, linux-kernel@vger.kernel.org Cc: bsegall@google.com, pjt@google.com, morten.rasmussen@arm.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, Yuyang Du Subject: [PATCH v2 0/3] sched/fair: Skip attach and detach for new group task in task_move_group_fair() Date: Tue, 31 May 2016 06:32:53 +0800 Message-Id: <1464647577-23057-1-git-send-email-yuyang.du@intel.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Peter, Vincent reported this problem, which is there for a while. The first patch is cleanup as well as paving the way to the fix. Regarding the fix in the second patch, it seems the vruntime part in the detach and attach does not make sense for new task too, so I also avoided it. Thanks, Yuyang -- Yuyang Du (3): sched/fair: Clean up attach_entity_load_avg() sched/fair: Skip detach and attach new group task sched/fair: Add inline to detach_entity_load_evg() kernel/sched/auto_group.c | 2 +- kernel/sched/core.c | 8 +++--- kernel/sched/fair.c | 61 ++++++++++++++++++++++++--------------------- kernel/sched/sched.h | 4 +-- 4 files changed, 40 insertions(+), 35 deletions(-) -- 1.7.9.5